Commit Graph

9215 Commits

Author SHA1 Message Date
Vadim Zeitlin
e63f19ba93 Added wxID_PAGE_SETUP standard id
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 00:14:55 +00:00
Václav Slavík
71451a6d16 moved wxIcon implementation for ports where it's identical to wxBitmap to generic/icon.{cpp,h} so that the same code is not duplicated several times
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-09 17:59:30 +00:00
Václav Slavík
869b59fc91 added wxRect::Inside(wxRect) for testing if a rectangle is completely within another rectangle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-08 14:21:44 +00:00
Václav Slavík
9a88f03a5e wxPipeInputStream depends on wxFile, use wxUSE_FILE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-08 13:06:05 +00:00
Stefan Neis
744c594651 Fixed (?) problem in region handling which caused major redraw problems.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-06 22:00:10 +00:00
Vadim Zeitlin
7ce6cc9b8e unified wxFRAME_EX_CONTEXTHELP and wxDIALOG_EX_CONTEXTHELP in a single wxWS_EX_CONTEXTHELP and changed its value to avoid conflict with wxWS_EX_TRANSIENT (this resulted in all progress dialogs having useless context help button in their title bar)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-06 12:56:48 +00:00
Robin Dunn
2dc3af5058 Give timers a generated ID if wxID_ANY is passed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-06 01:18:57 +00:00
Václav Slavík
d9c2755704 reformatted DEFINE_STD_WXCOLOUR_CONSTRUCTORS definition to fit on standard terminal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-05 12:57:31 +00:00
Vadim Zeitlin
55b43eaa02 undid last change and removed wxTE/CB_FILENAME style, after looking at GTK+ API it seems that this is not the correct way to do this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 11:10:53 +00:00
Václav Slavík
552796e07e wxXPMDecoder requires wxUSE_IMAGE && wxUSE_XPM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-03 16:54:22 +00:00
Václav Slavík
f257ac8784 fixed compilation for wxUSE_STATUSBAR w/o wxUSE_MENUS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-01 12:01:24 +00:00
Václav Slavík
050242339c move wx11 and (the rest of) wxMGL specific checks into /chkconf.h file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-01 09:01:01 +00:00
Václav Slavík
0e798c8651 wxX11's wxBitmap requires wxPalette, so check for wxUSE_PALETTE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-01 08:39:29 +00:00
Vadim Zeitlin
90c6edd706 TLW default item changes have changed Enter key processing: it was now handled as TAB even for controls such as wxTree/ListCtrl which need it themselves; fix this by checking for VK_RETURN in these classes MSWShouldPreProcessMessage() implementation; also removed specific test for wxTextCtrl in wxWindowMSW::MSWProcessMessage() and simplified its code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 22:06:24 +00:00
Václav Slavík
bdeb1f0d6c avoid warnings about undefined wxUSE_LOG_DEBUG if wxUSE_LOG=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 16:56:51 +00:00
Václav Slavík
72f8c79220 don't pass window argument to NotifyCaptureLost, it's not needed/used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 12:17:39 +00:00
Václav Slavík
2c5e5cbdb4 wxFileModificationTime() needs wxDateTime, put it inside wxUSE_DATETIME
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 12:03:22 +00:00
Václav Slavík
63e819f298 added wxEVT_MOUSE_CAPTURE_LOST event and code for correctly handling capture loss (bug #1153662)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 09:27:54 +00:00
Vadim Zeitlin
6a06841c34 reverted the move of wxComboBox styles from wx/defs.h to wx/combobox.h, a lot of existing code (including wxChoice implementation inside wx itself) uses these styles without including wx/combobox.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-30 23:36:38 +00:00
Vadim Zeitlin
ef43e62e77 reverted the move of wxComboBox styles from wx/defs.h to wx/combobox.h, a lot of existing code (including wxChoice implementation inside wx itself) uses these styles without including wx/combobox.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-30 20:04:10 +00:00
Robert Roebling
79f9018c70 Compilation fix after wxCB_ flags move.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-30 12:49:37 +00:00
Robert Roebling
83beee574e Compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-30 12:38:39 +00:00
Robin Dunn
14a010678d DLL compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-29 23:01:08 +00:00
Vadim Zeitlin
42ef5bda0e wxUSE_DATAOBJ requires wxUSE_OLE (bug 1526189)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-29 20:31:41 +00:00
Vadim Zeitlin
5f6475c145 moved combobox styles from defs.to to combobox.h; added wxTE/wxCB_FILENAME styles (MSW only for now); show them in the widgets sample and use for file/dir pickers text controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-29 19:19:50 +00:00
Vadim Zeitlin
507abc7b3a allow changing the page from keyboard in property sheet like controls even when the notebook doesn't have focus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-28 23:48:50 +00:00
Vadim Zeitlin
e71c530e03 added HasMultiplePages()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-28 23:46:32 +00:00
Václav Slavík
8e8a4e8587 reverted the change to not use wxList until dynarray.h is fixed to provide operator* in both STL and non-STL modes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-28 07:14:14 +00:00
Václav Slavík
67868c1e6c don't use untyped wxList in wxXmlResource
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-27 14:03:02 +00:00
Włodzimierz Skiba
28f92d74ee Include wx/dataobj.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-27 12:57:16 +00:00
Vadim Zeitlin
2f6ea0bc00 define _TM_DEFINED if we define struct tm here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-26 13:21:02 +00:00
Vadim Zeitlin
6885562629 don't make wxPathList dtor virtual, this is unneeded and results in gcc warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 18:48:52 +00:00
Vadim Zeitlin
74639764d0 added possibility to strip only mnemonics, not accels, in wxStripMenuCodes(); added wxControl::GetLabelText()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 18:40:04 +00:00
Włodzimierz Skiba
925f774066 Minor header cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 14:31:55 +00:00
Włodzimierz Skiba
bf3c1a1962 Fix for function access shown in Tinderbox builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 13:53:55 +00:00
Alex Bligh
1320116514 wxAUI: fixed pane saving design thinko
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 13:16:41 +00:00
Włodzimierz Skiba
e8427971f6 [ 1528248 ] Fix to the width of the wxGenericColourButton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 11:41:53 +00:00
Alex Bligh
75c8d68f1d wxAUI: Support serialization of individual PaneInfo structures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 11:41:46 +00:00
Włodzimierz Skiba
822211533d Blind Tinderbox build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 10:31:38 +00:00
Jamie Gadd
5e4a7f9196 Make wxTreebook use wxControlContainer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 09:30:19 +00:00
Włodzimierz Skiba
bb90a3e6fd Include wx/stopwatch.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 08:47:47 +00:00
Vadim Zeitlin
6c20e8f816 move default button handling code from wxControlContainer to wxTLW (patch 1524441)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 01:31:13 +00:00
Vadim Zeitlin
ecd87e5b71 improvements to wxPickerBase default proportion values (patch 1525578)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 00:44:41 +00:00
Vadim Zeitlin
8daf3c3664 wxPathList cleanup by Francesco (patch 1521481)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 00:16:55 +00:00
Vadim Zeitlin
40f5126298 added wxID_HELP_INDEX/SEARCH (part of request 1404089)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 00:06:43 +00:00
Vadim Zeitlin
f98377912b optionally count repeating wxLog messages instead of logging all (patch 1520815)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 00:04:35 +00:00
Vadim Zeitlin
9f057af5ef wxFD_PREVIEW implementation for wxGTK (slightly modified patch 1520690)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 23:48:06 +00:00
Vadim Zeitlin
3d3f3e3749 allow customization of individual grid lines appearance (patch 1496015)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 23:16:37 +00:00
Vadim Zeitlin
3e6e514739 do nothing in Refresh() if the control is frozen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 18:18:34 +00:00
Vadim Zeitlin
27f8357f3c call DoDirtyProcessing() from OnIdle() instead of using wxYield() (patch 1518119)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 18:12:23 +00:00
Vadim Zeitlin
a8d69700fc add default value for the encoding parameter of wxMacCFStringHolder() instead of passing wxLocale::GetSystemEncoding() which doesn't work when wxUSE_INTL == 0 to it in many places (replaces 2nd part of patch 1501724)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 18:01:39 +00:00
Vadim Zeitlin
b9eb3d9de6 added wxID_ANY default value for the id parameter of Create() for consistency with the ctor (request 1481791)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 17:44:46 +00:00
Vadim Zeitlin
b8b37cedd3 added HasHandlerForPath() (modified patch 1514524)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 17:37:39 +00:00
Vadim Zeitlin
2588b9c467 minor refactoring of OnEraseBackground()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 14:57:57 +00:00
Włodzimierz Skiba
623d5f8002 Warning fix, minor source cleaning and better !PCH support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 14:04:31 +00:00
Vadim Zeitlin
3ab6fcee36 added FindFileInPath() (part of an otherwise rejected patch)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 13:34:26 +00:00
Włodzimierz Skiba
8efb290702 [ 1518434 ] wxSize::Scale with wxScale and wxPoint operators documented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 08:26:38 +00:00
Włodzimierz Skiba
4444d148a5 Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 06:30:49 +00:00
Alex Bligh
5826659c99 wxAUI: Don't fade venetian blind effect by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-23 11:39:13 +00:00
Robin Dunn
d91fa2829b Some changes needed for wxPython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 22:32:25 +00:00
Benjamin Williams
da5e85d989 added some font measuring to wxAuiMultiNotebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 18:51:14 +00:00
Alex Bligh
7a5b04a65e Add support for transparent hint windows under GTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 17:30:28 +00:00
Benjamin Williams
9fabaac49c more compile fixes on wxGTK; auibook.h and tabmdi.h are now uncommented in aui.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 13:14:07 +00:00
Benjamin Williams
189da67c55 updated header file name in source
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-21 14:55:21 +00:00
Benjamin Williams
9364257861 renamed notebook.h to auibook.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-21 14:49:23 +00:00
Benjamin Williams
a3219eea26 added corresponding notebook.h and tabmdi.h to aui
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-21 13:36:21 +00:00
Włodzimierz Skiba
21d6b09b10 [ 1523907 ] Remove unnecessary wxComboCtrl window style.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-20 15:31:10 +00:00
Vadim Zeitlin
a333edbddf added non-static GetCentury(), removed default value for static GetCentury() parameter which didn't make any sense at all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-20 13:40:11 +00:00
Mart Raudsepp
07e497070e Initial wxTLW::(Can)SetTransparent support for wxGTK. The return value of SetTransparent is currently very
optimistic and doesn't use the EWMH composite manager spec update proposal (_NET_WM_CM_Sn) yet. This is on purpose
until the proposal appears in EWMH new version draft and it gets used by more composite managers.
See http://www.nabble.com/Interaction-between-applications-and-compositing-managers-t1389248.html and in the
future http://standards.freedesktop.org/wm-spec/latest/ for details.
Some code reordering is probably in order (helper function to utilsx11?) and testing on non-traditional X servers
appreciated.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-19 17:18:12 +00:00
Włodzimierz Skiba
db84713101 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-19 15:52:28 +00:00
Michael Wetherell
836724c3ce Missing header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-19 12:23:40 +00:00
Robin Dunn
07880314d4 Translucency --> Transparent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 21:30:08 +00:00
Michael Wetherell
82540105e3 File/font/colour/dir picker fixes for GTK Universal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 15:02:35 +00:00
Włodzimierz Skiba
7dc234d633 [ 1519202 ] wxComboCtrl::SetButtonPosition() to support -1 width/height
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 08:45:12 +00:00
Michael Wetherell
9ff1e31960 Revert access changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 21:13:28 +00:00
Vadim Zeitlin
789367e10d unset the button as temporary default item when it's destroyed (closes bug 1354875)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 19:50:48 +00:00
Vadim Zeitlin
a10a31ce56 wxRadioBoxButtonsInfoList should be exported (should fix cygwin build link)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 18:38:11 +00:00
Benjamin Williams
0603bb285c added another AddPane() call which allows the caller to add a new window at a certain point; Hint functions are now public
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 10:59:16 +00:00
Robin Dunn
50f3c41d61 Added wxTopLevelWindow::SetTranslucency and CanSetTranslucency, with
implementations (so far) for wxMSW and wxMac.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 03:28:23 +00:00
Vadim Zeitlin
9c92620c22 fix the bug with the current path being restored if it was under the group being deleted with DeleteGroup(); clarify what happens in this case in the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-15 22:07:00 +00:00
Václav Slavík
984f1d84fd added default value argument to wxXmlResourceHandler::GetColour()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-15 15:32:57 +00:00
Václav Slavík
af6ad98461 fixed crashes in wxFile/DirPickerCtrl::GetPath() due to incorrect casting in multiple inheritance hierarchy and incorrect casting to wxFilePickerWidget in wxFileDirPickerCtrlBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-15 15:13:04 +00:00
Václav Slavík
1029169f08 reformatted to fit on standard terminal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-15 12:25:48 +00:00
Włodzimierz Skiba
f0fa8b47ab PCH and wxUSE_* fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 19:03:10 +00:00
Robin Dunn
b8193d807f Updated Scintilla to version 1.70
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 01:20:18 +00:00
Alex Bligh
dc8a1aa53d Apply patch 1520776, partial completion on wxOwnerDrawnComboBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-13 22:06:32 +00:00
Alex Bligh
0d02dd54a0 Virtualize ProcessDockResult so people can override it to prevent docking
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-13 22:03:54 +00:00
Vadim Zeitlin
fca418ae12 call SetHorizontalExtent() from SetString(); also simplified/cleaned up the former function and call InvalidateBestSize() from it automatically now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-12 21:44:34 +00:00
Benjamin Williams
461125ea4d renamed wxFrameManager::GetFrame() and SetFrame() to GetManagedWindow() and SetManagedWindow()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-12 07:18:19 +00:00
Benjamin Williams
673727f39c wxFrameManager::Render() now fires a new event, called wxEVT_AUI_RENDER, which allows all main window drawing operations to be overridden to provide custom drawing behavior
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-11 15:24:25 +00:00
Benjamin Williams
a189504e7f wxAUI's wxFrameManager::SetFrame() now takes a wxWindow ptr instead of a wxFrame ptr, in preparation for future work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-11 13:50:49 +00:00
Włodzimierz Skiba
a7a11b21f5 Fixed conflict between wxFilePicker and wxButton.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-11 07:53:25 +00:00
Stefan Neis
8e372bbe07 Added implementation for wxGetKeyState and wxGetMouseState.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-09 17:44:08 +00:00
Robin Dunn
af672b5ae8 Add wxRTTI info for the event class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-08 02:19:03 +00:00
Robin Dunn
06d4c4d65a Changes needed for scanning the aui header files with SWIG for
wxPython.  Also fix some DLL exports.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-07 17:53:17 +00:00
Alex Bligh
d9e0958c7e Added GetWidestItem() and GetWidestItemWidth() to wxVListBoxComboPopup
and wxOwnerDrawnComboBox as per Jaakko Salli


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 17:42:39 +00:00
Włodzimierz Skiba
23f826bdf9 wxRound() workaround to avoid unexpected compile and link errors on incomplete environments (Tinderbox build fix).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 09:09:09 +00:00
Włodzimierz Skiba
2ea6c1f77a Temporarily disable colour picker to keep build working and bofore finding nice replacement for smartphone build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 07:07:52 +00:00
Włodzimierz Skiba
c5197da440 Missing include for wxCocoa build at Tinderbox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 06:47:13 +00:00
Vadim Zeitlin
7c5cd6e9ad wxMenu::AppendRadioItem() now implemented under all platforms but wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 00:17:50 +00:00
Alex Bligh
dd5efcb7b8 Remove bogus include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 17:10:15 +00:00
Benjamin Williams
5875464394 added EVT_AUI_PANECLOSE and updated sample accordingly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 16:38:02 +00:00
Stefan Csomor
747592e7cb making cocoa build again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 13:10:46 +00:00
Włodzimierz Skiba
9804d5404a wxNB_HITTEST_* flags renamed to wxBK_HITTEST_* to serve all book controls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 12:21:13 +00:00
Alex Bligh
e4542fa6e2 wxAUI: Make 2 methods virtual and unprotect member variables to enable apps to do their own hint windows until a generally acceptable mechanism for platforms other than MSW is found.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 19:25:07 +00:00
Włodzimierz Skiba
e8a793f06c XRC headers cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 18:08:09 +00:00
Alex Bligh
e5ab82d310 wxAUI: Made fixed size floating panes work
wxAUI: Added IMPLEMENT_CLASS etc. for wxFloatingPane for a later patch


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 15:26:33 +00:00
Stefan Csomor
8e952859a6 wxColour lost its Create method, use direct creation for XTI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-04 12:31:47 +00:00
Julian Smart
27e20452c4 SetStyle/GetStyle corrections
Added compatibility ctor to wxTextAttrEx
wxRichTextCtrl should take a string value for wxTextCtrl compatibility


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-03 21:13:18 +00:00
Robin Dunn
1a51c85ff3 ExpandAll and ExpandAllChildren are in wxTreeCtrlBase now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-03 20:55:39 +00:00
Włodzimierz Skiba
155ecd4c42 Include wx/image.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-03 19:02:54 +00:00
Julian Smart
6b69c8ee88 Use wxTextCtrlBase as base class on 2.7
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-03 17:51:34 +00:00
Stefan Neis
6a17b868de Fixed typos in comments (patch #1515724)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 21:40:38 +00:00
Stefan Neis
331f1e07ce Fixes to sizing and others, according to patch #1507207.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 21:11:58 +00:00
Julian Smart
05b4fddf49 Implemented wxTextAttrEx::CombineEx and wxRichTextAttr::Combine
Setting the default style now combines the default with the
new style, instead of just overriding it, so it is possible to
select e.g. bold and italic simultaneously in the sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 13:43:42 +00:00
Julian Smart
9d11268884 Added wxTextCtrlBase to type info, useful if different text control
implementations are available


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 07:41:02 +00:00
Julian Smart
c9f3a6a81d Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 07:17:46 +00:00
Vadim Zeitlin
7093413895 added ExpandAllChildrne() (patch 1498343)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 01:22:42 +00:00
Vadim Zeitlin
b3e5d05894 we don't need to override MSWTranslateMessage(), it was a wrong workaround for the bug fixed in rev 1.41 of src/msw/evtloop.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 23:00:11 +00:00
Vadim Zeitlin
0c9da2fa86 moved wxUSE_MS_HTML_HELP to MSW-specific setup.h, it's not used on other platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 22:04:56 +00:00
Václav Slavík
84b2e3765d fixed wxCheckBoxBase::DoUpdateWindowUI to handle disabling and hiding of the control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 10:51:44 +00:00
Stefan Csomor
db49000e6c fixing PPI bugs in printer dcs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 08:44:12 +00:00
Stefan Csomor
dfd468aafd moving UniChar code to one place
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 17:23:37 +00:00
Julian Smart
3b2cb4316b Moved wxRichTextCtrl to its own library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-29 07:16:39 +00:00
Julian Smart
1215ec07d8 Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-28 17:45:13 +00:00
Vadim Zeitlin
1bc7969717 added missing wx/sizer.h header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-28 14:01:35 +00:00
Julian Smart
d876667522 Fixed zoom problem (Robert J.Lang)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-28 12:56:05 +00:00
Julian Smart
7f0d9d717d Added support for tabs in wxRichTextCtrl (Ashish More)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-28 10:57:20 +00:00
Robin Dunn
49b6ebb7e1 Put back the old wxTreeEvent ctor for compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 21:21:36 +00:00
Vadim Zeitlin
2388d9b331 added a wxTreeEvent ctor taking the associated wxTreeCtrl and optional wxTreeItemId; this reduces code duplication and also allows us to easily ensure that client data pointer is set properly for all events (it was never initialized before) (replaces patch 1503531)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 18:49:06 +00:00
Vadim Zeitlin
7b4eedf698 added wxUSE_PRINTF_POS_PARAMS which can be used to force the use of built-in printf (2nd part of patch 1462778)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 14:24:53 +00:00
Vadim Zeitlin
57b49e9445 fix VC compilation warnings about implicit int->bool conversion after last check in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 14:12:05 +00:00
Vadim Zeitlin
a65ffcb229 use wxBoxSizer in wxPickerBase instead of doing the layout manually + other picker controls fixes (patch 1513042)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 14:07:45 +00:00
Vadim Zeitlin
5769347356 remove duplicate m_popupInterface (patch 1509424)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 14:04:27 +00:00
Julian Smart
6334d90353 Added wxPROPSHEET_TREEBOOK option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-27 08:01:54 +00:00
Vadim Zeitlin
547ceb38ff include wx/msw/metafile.h when wxUSE_WIN_METAFILES_ALWAYS==1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-26 14:37:34 +00:00
Vadim Zeitlin
eeea41abbc force showing 0 in the spin control instead of leaving it empty as the native spin button seems to be content to do
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-26 12:20:50 +00:00
Vadim Zeitlin
58772e4992 picker controls improvements: fixes to valid paths recognition and event generation under GTK (patch 1510064)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-26 01:04:44 +00:00
Vadim Zeitlin
ef33382e43 deselect all items when SetSelection(-1) is called (patch 1506943)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-26 00:46:32 +00:00
Vadim Zeitlin
be0ac1819a added SetModified() for people who find it easier to understand than MarkDirty/DiscardEdits (patch 1504449)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-26 00:39:32 +00:00
Vadim Zeitlin
f5a9eef7c7 define WXMAKINGDLL_QA when WXMAKINGDLL is defined (patch 1502015)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-26 00:03:33 +00:00
Michael Wetherell
2d672c46c0 Make IsOfClass out-of-line to defend against gcc 3.4.[56] bug:
http://lists.wxwidgets.org/cgi-bin/ezmlm-cgi?5:msp:75436:ofgfinakfempiciaejof


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-24 11:18:28 +00:00
Vadim Zeitlin
d5c21b02b5 reorganized VK to WXK translation code to use a table instead of huge switch statement in which it was too easy to get lost
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-22 18:27:02 +00:00
Włodzimierz Skiba
b5c4d59ef4 Fix for dir dialog in dir picker appearing without title and border under universal builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-21 14:38:50 +00:00
Włodzimierz Skiba
8dd8666360 Include wx/gdiobj.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-21 14:22:05 +00:00
Włodzimierz Skiba
841f23e18a Include wx/containr.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-21 07:36:58 +00:00
Włodzimierz Skiba
47a2e1ee4b Fix for wxMGL built with common part of setup0.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-20 14:45:56 +00:00
Włodzimierz Skiba
7c90392a61 Fix for wxOS2 built with common prt of setup0.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-20 12:57:30 +00:00
Włodzimierz Skiba
582f07c253 [ 1487463 ] XRC handler for wxOwnerDrawnComboBox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-20 12:26:09 +00:00
Włodzimierz Skiba
df69528b7e Include wx/hashmap.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-20 10:24:07 +00:00
Włodzimierz Skiba
dd05139a80 Include wx/gdicmn.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 20:18:46 +00:00
Paul Cornett
b85229d15b remove redundant GdkBitmap representation from wxBitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 18:30:13 +00:00
Paul Cornett
0006b9a540 remove obsolete color cube and image to bitmap code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 16:14:21 +00:00
Włodzimierz Skiba
e5d6334238 [ 1507736 ] wxOwnerDrawnComboBox improved list item width checking.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 09:02:10 +00:00
Włodzimierz Skiba
25466131ac Include wx/menuitem.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 07:12:50 +00:00
Stefan Neis
1ebd017e14 Partly reverted changes to Get(Current)Selection.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-18 19:25:41 +00:00
Julian Smart
2273efca47 Give app a default wxWidgets icon other than random one e.g. CD-ROM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-18 11:07:19 +00:00
Paul Cornett
4f558e23ff build fix for older gtk2, second attempt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-18 03:37:24 +00:00
Paul Cornett
a0f81e9f15 use AllocExclusive in wxImage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-17 19:09:28 +00:00
Włodzimierz Skiba
3c15a15128 Header correction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-16 09:31:12 +00:00
Włodzimierz Skiba
b3a44e057b Include wx/region.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-16 07:14:51 +00:00
Włodzimierz Skiba
db53c6ea2e [ 1506733 ] wxOwnerDrawnComboBox::SetPopupControl argument type check.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 21:10:58 +00:00
Paul Cornett
c668531784 1. more accurate conversion from 8-bit wx color to 16-bit GDK color
2. eliminate possiblity of wxColour RGB values changing depending on colormap
3. don't allow non-const pointer access to internal GdkColor


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 19:29:08 +00:00
Włodzimierz Skiba
0433fd85f1 Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 18:14:22 +00:00
Włodzimierz Skiba
18680f8651 Include wx/math.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 17:58:49 +00:00
Michael Wetherell
ddf6057454 Use bitfields to make wxMouseState smaller
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 14:16:10 +00:00
Dimitri Schoolwerth
8de5222362 forwardported a 2.6 branch fix for misplaced define
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 14:06:24 +00:00
Dimitri Schoolwerth
9d73af583e added alternative definitions for wxASSERT_MSG and wxCHECK2_MSG to fix CodeWarrior warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 12:40:34 +00:00
Michael Wetherell
063708fcce Missing exports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 09:13:29 +00:00
Michael Wetherell
2cc833a1bd Cygwin compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 08:39:58 +00:00
Włodzimierz Skiba
48a1108eb8 Include wx/font.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 19:51:14 +00:00
Włodzimierz Skiba
40b26d752d [ 1492053 ] Add wxVListBox style callbacks to wxOwnerDrawnComboBox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 18:38:47 +00:00
Vadim Zeitlin
392c5133ff show native-looking (with 3D shadow) help tooltips for context help, if possible, using wxCHMHelpController
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 17:46:51 +00:00
Włodzimierz Skiba
7cf41a5d66 Include wx/colour.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 17:09:39 +00:00
Vadim Zeitlin
d0a84b6338 fill in flags parameter of HitTest() for all book controls; added new wxNB_HITTEST_ONPAGE bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 15:54:24 +00:00
Julian Smart
5637cc3551 Fix for wrong combobox/height being reported if set size is pending
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 13:11:53 +00:00
Vadim Zeitlin
be0e5d699f made wxTree/ListCtrl::HitTest() const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 12:00:57 +00:00
Włodzimierz Skiba
0bca037363 Include wx/bitmap.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 10:02:19 +00:00
Włodzimierz Skiba
1832043f93 Include wx/toplevel.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-13 20:44:51 +00:00
Włodzimierz Skiba
aaa6d89a0d Include wx/arrstr.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-13 11:30:40 +00:00
Vadim Zeitlin
7bd6bf45ad update the real window flags when extended flags change and not only the normal ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-11 22:44:53 +00:00
Vadim Zeitlin
af266e5bf7 added possibility to specify modules dependencies
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-11 22:19:12 +00:00
Vadim Zeitlin
dc26eeb36a make it possible to associate context help text with individual radiobox items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-11 21:13:13 +00:00
Vadim Zeitlin
dc6588e771 made it possible to associate context help to a region of a window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-11 21:10:32 +00:00
Włodzimierz Skiba
84c3e788d6 Header listed twice removed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-09 17:29:30 +00:00
Włodzimierz Skiba
3304646d06 Include wx/statusbr.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-09 09:51:39 +00:00
Robin Dunn
258b2ca681 Applied Patch #1502801: Missing Clone() functions from some events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 18:27:44 +00:00
Włodzimierz Skiba
5b56bffb33 Include wx/memory.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 12:51:01 +00:00
Włodzimierz Skiba
9a6384ca1e Improvements for building minimal builds and new ports: wxUSE_* usage and minor cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 11:25:30 +00:00
Robert Roebling
a84f5f39b8 Correct compilation for GTK < 2.4.
Remove double testing for __WXMGL__ and __WXX11__
    after testing for __UNIVERSAL__


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 10:05:42 +00:00
Vadim Zeitlin
d5bfbd9ab8 1. renamed wxFontMapper::IsWxFontMapper() to IsDummy() (with reverse semantics)
2. added wxFontMapper::Reset() to only do the cast needed when deleting
   the font mapper object once
3. reset the dummy font mapper created during the app initialization in
   wxFontMapperModule and not in init.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-07 17:49:27 +00:00
Julian Smart
55193d61ae Removed comma
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-07 08:49:45 +00:00
Włodzimierz Skiba
3a7458677b AUI under wxOS2 build fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 21:07:42 +00:00
Włodzimierz Skiba
be66f18ee1 Source cleaning, wxW headers, whitespaces and improved PCH support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 15:39:16 +00:00
Julian Smart
08469b1f18 Compile corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 14:05:11 +00:00
Julian Smart
5e4903f5cc Further wxAUI commits
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 13:34:54 +00:00
Julian Smart
50acee04cd Initial commit of wxAUI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 13:12:07 +00:00
Julian Smart
90f9b8ef0c Reverted last wxBookCtrl change and added alignment check to notebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 12:53:31 +00:00
Julian Smart
926395e16b Each book control should say what its default orientation. Use this info
if no alignment style, otherwise assertion will happen in GetPageRect.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 11:05:22 +00:00
Vadim Zeitlin
a893b65e62 fixed memory leak introduced by dynamic wxMimeTypesManagerImpl creation (rev. 1.44 of mimecmn.cpp) changes; also renamed wxMimeTypesManagerFactory::Get/SetFactory() to just Get/Set()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-05 17:01:46 +00:00