Commit Graph

45396 Commits

Author SHA1 Message Date
Vadim Zeitlin
11986debff don't use the same tool ids for multiple tools, this is bad idea under Windows and breaks tool commands handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-18 13:40:18 +00:00
Vadim Zeitlin
d2ffaf168d add support for using bitmap2 for checked menu item bitmap in XRC (#9878)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-18 13:27:58 +00:00
Vadim Zeitlin
4a5ed5bfc1 paint the space remaining after the columns too in wxListHeaderWindow::OnPaint() (#9855)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-18 12:02:01 +00:00
Vadim Zeitlin
f6a39dfaa6 use CLSCTX_ALL instead of CLSCTX_LOCAL_SERVER in CreateInstance() (#9868)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-18 11:57:55 +00:00
Vadim Zeitlin
bfafa6288f don't terminate the event loop in EndModal() if it was already terminated because of an exception thrown inside it (#9838)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-18 11:51:53 +00:00
Vadim Zeitlin
42561c3caf document wxSpinCtrlDouble (#9834)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-18 11:41:27 +00:00
Vadim Zeitlin
2753fd96ff add comparison operators for UUID class (#9871)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-18 11:30:10 +00:00
Vadim Zeitlin
f78c70f34b fix spurious assert failure in DestroyGripper() which happened if the dialog hadn't been shown at all (#9824)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-16 10:53:02 +00:00
Vadim Zeitlin
af39599d1d compilation fix for wxUSE_STL build after r54926 (#9810)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-15 23:04:31 +00:00
Vadim Zeitlin
d026fee446 compilation fix for wxUniv/MSW after r54937 (#9866)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-15 23:01:28 +00:00
Paul Cornett
75c6febf44 fix for page change not working after veto, #3808
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-15 04:52:13 +00:00
Václav Slavík
c21faa0a3e added wxString benchmark using 2.8's HTML parser
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-13 15:48:09 +00:00
Václav Slavík
4c25eaccc9 HAVE_BOOST_THREAD should be off by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-13 15:47:20 +00:00
Stefan Csomor
78a9167e55 adding generic BUNDLE_RESOURCES for copying any special resources into the bundle, renaming BUNDLE_ICONS to BUNDLE_ICON = the path of the app icon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-13 15:20:57 +00:00
Stefan Csomor
0b1345939a fixing remainder of bug #3776, clean activateAndIgnoreClick behaviour for DataBrowser
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-13 15:14:31 +00:00
Paul Cornett
1e4db45055 move notebook event definition to common code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-13 14:56:42 +00:00
Vadim Zeitlin
1f16b85005 fix typo in __WWXMAC__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-13 12:31:13 +00:00
Václav Slavík
31b9d29fd7 add assert checking that GetCapture() and ms_winCaptureCurrentare in sync
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-13 09:00:36 +00:00
Václav Slavík
26fba7b2a3 apply Stefan's fix for wxHtmlDCRenderer clipping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-12 16:03:17 +00:00
Václav Slavík
03af437f75 made wxCharTypeBuffer<T>::release() const again, for compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-12 15:10:57 +00:00
Václav Slavík
0654c03aff added microbenchmark for wxCharBuffer performance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-11 19:31:23 +00:00
Robin Dunn
78806f0c41 Use WXUNUSED and give more explaination for the handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 20:54:35 +00:00
Paul Cornett
4cdf71be82 don't modify position for default border if button is in a native widget
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 20:45:06 +00:00
Paul Cornett
205177b0b4 add control items from child inserter, so that correct style is set early enough
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 20:44:51 +00:00
Václav Slavík
7113846bc8 DLLs linking fix wxCharTypeBuffer<T>::NullData
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 20:41:10 +00:00
Václav Slavík
e00d33048d pch-less compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 20:40:48 +00:00
Václav Slavík
283c84c224 compilation fix: wxUString uses it's own wxCharTypeBuffer<T> specializations and so needs NullData definitions for them too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 20:29:11 +00:00
Václav Slavík
95691abd43 radically simplified declarations of wxUString-specific char buffers: there are no compatibility concerns, so they can simply be typedefs for wxCharTypeBuffer<T>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 20:28:20 +00:00
Václav Slavík
5c1de526d2 added refcounting to wxCharBuffer to fix passing of wxCharBuffer to printf-like functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 19:37:51 +00:00
Paul Cornett
f2448f2110 some code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 18:26:33 +00:00
Paul Cornett
3abfbb4354 set extra widget from child inserter, so that correct style is set early enough
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 18:24:21 +00:00
Robin Dunn
c2cbae6bb8 Avoid default child window focus behavior in generic wxListCtrl. Fixes #9563
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 00:26:53 +00:00
Paul Cornett
fd6c5101a5 fix previous commit to respect minimum width
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 00:19:56 +00:00
Václav Slavík
f3fda1aa01 fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 00:14:27 +00:00
Vadim Zeitlin
7f3bf33a59 initialize the button label correctly if the same wizard is ran again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-09 22:44:35 +00:00
Václav Slavík
03a0d58451 more strict UTF-8 validity checks, as it should be (patch #9847)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-09 21:38:21 +00:00
Vadim Zeitlin
817d057840 added test for Replace(whatever, "")
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-09 15:50:24 +00:00
Vadim Zeitlin
dd79ca2fd8 undid changes accidentally committed as part of r55019
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-08 19:00:19 +00:00
Vadim Zeitlin
64a044d5a6 added wxTLS_TYPE() macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-08 02:59:32 +00:00
Vadim Zeitlin
375a5d3a93 add DECLARE_NO_COPY_TEMPLATE_CLASS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-08 02:37:56 +00:00
Vadim Zeitlin
706068e401 document DECLARE_NO_{COPY,ASSIGN}_CLASS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-08 02:35:56 +00:00
Vadim Zeitlin
c585ccef9c added Win32 TLS tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-08 01:13:30 +00:00
Vadim Zeitlin
49f11e8482 add TLS access benchmark
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-08 00:43:20 +00:00
Julian Smart
380e1c0ccc Fixed scrolling bug where scrollbar was taken to be a valid child window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-07 15:59:46 +00:00
Paul Cornett
38a36cf517 allow dialog to be resized smaller with extra control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-07 15:59:33 +00:00
Vadim Zeitlin
c6e4d276a3 don't call OnCloseDocument() from OnNewDocument(), this plainly doesn't make sense (#1508)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-07 12:17:52 +00:00
Václav Slavík
14440cc658 small wxArtProvider API improvements: added HasNativeProvider() and renamed confusingly-named Insert() to PushBack()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-07 11:46:59 +00:00
Paul Cornett
28c45c53a6 build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-07 06:51:26 +00:00
Paul Cornett
f1d5aa4eca fix sizing of extra control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-07 06:51:10 +00:00
Vadim Zeitlin
99749f85a1 initialize a local variable even if it doesn't really need to be initialized to suppress annoying g++ warning in optimized build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-06 22:34:40 +00:00