Francesco Montorsi
3e8ec95401
use an enum to make it easier to document the values
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-10 21:59:22 +00:00
Robert Roebling
e51bf69961
Adapt MSW's renderer's alignment to use column header's alignment by default
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-08 11:17:54 +00:00
Vadim Zeitlin
c3a899dd92
correct positioning of the control and removed workarounds for old MSW bugs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-07 01:06:57 +00:00
Vadim Zeitlin
ddf13afcfe
no changes, just fix typo in variable name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 20:02:52 +00:00
Vadim Zeitlin
5131749617
initial native implementation of wxCalendarCtrl for MSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 04:17:03 +00:00
Vadim Zeitlin
bf956fac0e
move all appearace-related methods down to wxCalendarCtrlBase from wxGenericCalendarCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-01 23:43:34 +00:00
Vadim Zeitlin
628e155d8c
added native GTK implementation of wxCalendarCtrl (modified patch 1925439)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-28 02:47:12 +00:00
Francesco Montorsi
53a2db124c
substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-26 15:06:00 +00:00
Francesco Montorsi
5c7b506103
use wx-style header and commets; fix indentation to be 4 spaces; move Doxygen comments in a new interface header; deprecate SetBrowser() in favour of SetViewer()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 12:06:30 +00:00
Vadim Zeitlin
405f0fef4b
rename classes use by generic wxSpinCtrl implementation to have "Generic" suffix to avoid conflicts with the classes with the same names in wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 03:15:56 +00:00
Francesco Montorsi
106ef548fd
add the default ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-21 18:03:12 +00:00
Francesco Montorsi
70f9d2bef3
add the wxAnimation's ctor which automatically loads a file: it was documented but not present in the actual code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-20 22:33:57 +00:00
Vadim Zeitlin
8cd6a9ad50
added wxSpinCtrlDouble (slightly modified patch 1835864)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-18 14:04:19 +00:00
Robin Dunn
5cfb6fee91
Make some wxDataViewCustomRenderer virtuals consistent across platforms.
...
Add missing WXDLLIMPEXP_ADV.
Add missing impl for wxDataViewEvent::GetPosition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-17 21:00:06 +00:00
Vadim Zeitlin
03d4194d6b
implement wxSpinCtrl::Reparent() to properly reparent both the spin button and the text control part (slightly modified patch 1914190)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 04:10:43 +00:00
Vadim Zeitlin
dbf2bd150d
include wx/artprov.h to define wxArtID used in this header
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-05 12:27:21 +00:00
Václav Slavík
1c8e5c51f8
made Freeze/Thaw recursively (un)freeze child windows too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-03 11:30:07 +00:00
Vadim Zeitlin
8ce68f7fc0
add support for custom controls in file dialog in wxGTK and generic versions; also allow using generic dialogs in the sample with wxGTK2 (patch 1846837)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 14:33:47 +00:00
Vadim Zeitlin
1edce33f7e
override SetDropTarget() in wxGrid to associate it with wxGridWindow as this is what things tend to be dropped on (patch 1903103)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 17:19:42 +00:00
Vadim Zeitlin
f954984155
check whether the grid is fully created in Refresh() (fixes a crash under Mac); refactored members initialization into a new InitVars() method to avoid duplication and ensure that they're always initialized (slightly modified patch 1901366)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-26 17:17:28 +00:00
Vadim Zeitlin
2fda1fe5fd
fix redundant storage of current date both in wxCalendarCtrl (which was itself redundantly stored as both wxDatePickerCtrl::m_cal and m_popup) and popup m_currentDate variable which resulted in multiple bugs, e.g. calendar didn't open at the current date value
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 15:39:06 +00:00
Vadim Zeitlin
68b1c87866
make wxGenericCollapsiblePane a wxControlContainer to allow keyboard navigation to and inside it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 01:24:19 +00:00
Vadim Zeitlin
3fc69ebc38
wxFontData doesn't need to be static in wxGenericFontButton (unlike wxColourData in wxGenericColourButton where it was copied from) (patch 1883375)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 21:32:11 +00:00
Vadim Zeitlin
c058cafa56
don't use DECLARE_EVENT_TYPE() to avoid confusing people about its unused value parameter, declare the event type constants directly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-27 13:21:39 +00:00
Vadim Zeitlin
75aea0d824
define (empty) SetIcon() method in wxGenericMDIChildFrame for compatibility with MSW implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-27 12:43:46 +00:00
Václav Slavík
760be3f7cb
wxGrid focus handling fixes:
...
- don't allow focus in helper labels subwindows
- draw selection in different colour when not focused
- hide cursor/highlight when not focused
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-21 17:11:49 +00:00
Paul Cornett
e45080c10b
make XPM data pointer parameter fully const
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-14 18:16:37 +00:00
Robert Roebling
ad3867930c
Partial impl of auto resizing columns
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-14 11:04:57 +00:00
Vadim Zeitlin
695f550bfa
use wxFlexGridSizer for layout of the labels in the progress dialog (patch 1829312); minor cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 15:05:57 +00:00
Vadim Zeitlin
17808a7596
move Freeze() and Thaw() to wxWindowBase to ensure that they behave consistently (i.e. recursively, as described in the docs) in all ports; removed different duplications of freeze count from derived classes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-05 00:21:31 +00:00
Vadim Zeitlin
001828ed69
compilation fix (remove default ctor already implemented by DEFINE_STD_WXCOLOUR_CONSTRUCTORS); make copy ctor inline and remove empty dtor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-05 00:04:34 +00:00
Julian Smart
3aa8e4ea6d
Added automatic dialog scrolling ability
...
Added ability to resize wizard bitmaps automatically
Made it easier to derive from wxWizard and override behaviour,
mainly by making members protected instead of private
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-29 16:35:39 +00:00
Robert Roebling
fc8c1a15b2
Implement rest of MSW's wxDataViewCtrl's native column reordering
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-28 23:07:30 +00:00
Julian Smart
41a031cf98
Return type correction
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-27 17:00:29 +00:00
Robert Roebling
99c75ebc5e
Patch from Hartwig and me for implementing reorderable dataview columns. Works on OS X and GTK+, breaks OS X a litte
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-26 18:30:56 +00:00
Robert Roebling
0a9ca9c424
Add HideCol/RowLabels
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 19:46:12 +00:00
Vadim Zeitlin
9ef6890f0b
added wxColourBase::Init() and use DEFINE_STD_WXCOLOUR_CONSTRUCTORS() in all ports now (patch 1851600)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 15:03:58 +00:00
Robert Roebling
71cf399ff0
Playing with wxgrid, adding optionnally native columns labels
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 15:05:03 +00:00
Vadim Zeitlin
8f884a0dcc
Fix Ok/IsOk() mess in wxGDIObject-derived classes; also added
...
wxGDIObject::Create/CloneGDIRefData() and implemented them for (almost) all
ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 17:54:20 +00:00
Vadim Zeitlin
163b3ad72c
replace wrong WXDLLEXPORT declarations with correct WXDLLIMPEXP_BASE/ADV/GL (patch from Tim Stahlhut)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-12 01:35:53 +00:00
Stefan Csomor
162adae55b
missing forward decl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-09 16:46:56 +00:00
Robert Roebling
4792288831
Use native DisclosureTriangle control for wxCollapsiblePane, II
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-08 18:49:08 +00:00
Robert Roebling
8f782954d1
Compilo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-08 17:55:37 +00:00
Robert Roebling
480be76aae
Make wxGenericColourButton derive from wxBitmapButton
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-08 17:29:19 +00:00
Vadim Zeitlin
9d55bfef2c
don't use 8 bit characters in sources, this results in level 1 warning with VC8 (patch 1841741)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-03 22:09:26 +00:00
Vadim Zeitlin
e5dbea4951
added support for icon flags to wxGenericNotificationMessage
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-02 19:43:04 +00:00
Vadim Zeitlin
e2d5abbf52
implemented wxNotificationMessage for wxMSW using wxTaskBarIcon and fallback to generic implementation on older systems; added wxNotificationMessage::SetFlags()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-02 17:02:30 +00:00
Vadim Zeitlin
b1f0e54a75
compilation fix after removing default wxDC ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-30 21:17:23 +00:00
Robert Roebling
888dde65f4
DC reorganization
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-30 13:48:22 +00:00
Václav Slavík
b150bffc9e
fixed linking with visibility enabled on Ubuntu and some other systems (any gcc 4.2 amd64?) by removing superfluous virtual wxColour::Ok() (already in wxColourBase) -- do this in all ports, not just wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-27 20:37:06 +00:00