Commit Graph

9055 Commits

Author SHA1 Message Date
Vadim Zeitlin
d870a03054 added wxULongLong::ToDouble() (patch 1531597)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 00:44:44 +00:00
Vadim Zeitlin
b445b6a76e better key handling for MSW and GTK (patch 1526666)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 00:35:02 +00:00
Vadim Zeitlin
d1af8e2dd9 added wxDir::FindFirst() (modified patch 1525502)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 00:23:58 +00:00
Stefan Csomor
e779b60938 we are always compositing on the supported OS versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-11 04:17:19 +00:00
Stefan Csomor
29a7b4d041 we are always compositing on the supported OS versions, add transparency for individual controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-11 04:04:36 +00:00
Stefan Csomor
f18dcf044f we are always compositing on the supported OS versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-11 04:01:55 +00:00
Václav Slavík
07f52d8baa moved duplicated wxRegionContain definitions to wx/region.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 20:16:15 +00:00
Vadim Zeitlin
a5ba65d307 compilation fix: remove wxRegionContain enum which is now defined in wx/region.h itself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 19:56:32 +00:00
Vadim Zeitlin
cc87fbed40 removed wxHtmlWindow::m_Style which duplicated wxWindow::m_windowStyle and prevented changeing wxHW_XXX window style after Create() from working
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 15:46:49 +00:00
Vadim Zeitlin
f242653114 move the logic for changing notebook pages using the standard Ctrl-Tab/PageUp/Dn keys even when focus is outside of the notebook to wxControlContainer from wxTopLevelWindowMSW to allow it work for notebooks whose parent is not a TLW (as a side effect, this now also works in all ports although I don't really know how desirable this is)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 15:42:07 +00:00
Václav Slavík
be2001fedd moved duplicated wxRegionContain definitions to wx/region.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 14:26:55 +00:00
Julian Smart
a02f7807ce Need include so user code can access book control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 12:43:38 +00:00
Václav Slavík
3da12c22f2 moved mgl/colour.{cpp,h} to generic so that it can be reused by other ports without native colour representation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 11:16:30 +00:00
Václav Slavík
de370efe24 check that wxUniv is enabled when compiling for wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 10:09:34 +00:00
Vadim Zeitlin
5ec60151bf added NormalizeValue() which can be used to ensure that the control value is in range
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 00:43:35 +00:00
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