Commit Graph

42854 Commits

Author SHA1 Message Date
Vadim Zeitlin
47b6fabc7d delete the event object in ProcessPendingEvents() even if the handler throws an exception (bug 1836010)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-26 23:18:30 +00:00
Vadim Zeitlin
04d24675d3 set listview extended styles after switching to report view and not only when creating it (blind fix for bug 1874996)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-26 22:54:47 +00:00
Vadim Zeitlin
ba8c878f95 don't append anything back in DoDeleteOneItem() if the control becomes empty (fixes bug 1880411)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-26 22:31:55 +00:00
Vadim Zeitlin
da603a6786 fix the code to not use dangling pointers resulting in asserts about invalid Unicode strings mentioned in the bug 1880411
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-26 22:20:45 +00:00
Vadim Zeitlin
5bd623e1ea fix a typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-26 21:54:38 +00:00
Vadim Zeitlin
67c5dabb64 fix assert when using owner-drawn menu items with the newest (Vista) SDK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-26 01:34:00 +00:00
Vadim Zeitlin
855b9ce000 include wx/stopwatch.h to get wxMilliClock_t and wxGetLocalTimeMillis() declarations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-25 21:51:42 +00:00
Julian Smart
020b60117f Corrected image saving to HTML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-25 16:38:39 +00:00
Julian Smart
c433798e64 HTML output corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-25 15:03:05 +00:00
Julian Smart
8cc448d308 Image objects should load and save attributes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-25 12:10:43 +00:00
Julian Smart
6470ffba45 Fixed a bug in HasAlignment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-25 09:15:26 +00:00
Julian Smart
6f5d63bcb0 Update caret in SetInsertionPoint
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-24 22:43:39 +00:00
Paul Cornett
3fd7b18a61 remove redundant WX_CLEAR_LIST, it's done by base dtor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-24 18:13:12 +00:00
Paul Cornett
0f35e441b0 fix memory leak when wxMenu is used as a popup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-24 17:59:11 +00:00
Julian Smart
3c8766f7dc Optimization correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-24 17:28:59 +00:00
Václav Slavík
c88a264a08 supress warning about in custom build steps with VC7+ (temporary workaround until bakefile 0.2.4)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-24 11:25:15 +00:00
Vadim Zeitlin
4eb77d8bce generate focus and kill focus events for wxTextCtrl at wxWindow level instead of doing it in wxTextCtrl itself and specifically disabling focus event generation for text controls in wxWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-24 09:34:05 +00:00
Vadim Zeitlin
aa709c269a compilation fix after r51188: only define operator<<() overloads for wxLongLong_t for VC6, next VC versions (and presumably all other compilers as we hadn't had problems with them before) define them in their standard library already
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-23 23:32:12 +00:00
Vadim Zeitlin
2075745810 define __VISUALCn__ for n=5,6,7,8,9 and not only 8; also document these symbols
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-23 23:30:48 +00:00
Vadim Zeitlin
d9df421aae no real changes, just use HandleWindowEvent() instead of GetEventHandler()->SafelyProcessEvent() in the last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-23 23:03:40 +00:00
Václav Slavík
e662c3157e use _vc8 suffix for VS2005 projects for consistency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-23 22:51:05 +00:00
Václav Slavík
147e8ebc05 catch exceptions when sending menu events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-23 22:31:04 +00:00
Robert Roebling
4a9dc87b27 remove wxT()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-23 20:48:20 +00:00
Michael Wetherell
ba5a72daa3 Move the mac stable branch build onto an x86 machine, as it was on an ia64
machine by mistake which doesn't have the mac compiler in the path.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-23 16:22:23 +00:00
Václav Slavík
6e0fbb3dbf regenerated makefiles with bkl-0.2.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-23 12:13:07 +00:00
Václav Slavík
2275c73268 updated bakefiles to take advantage of Bakefile 0.2.3 (now required)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-23 12:04:13 +00:00
Bryan Petty
704e631016 Reverted wxAuiFloatingFrame dtor crash fix (r51324) in favor of wxWeakRef implementation, thanks Robert.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-23 07:53:03 +00:00
Vadim Zeitlin
3056dddc54 remove the unnecessary non-const GetPage() overload
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-22 19:31:10 +00:00
Stefan Csomor
a47f55c5aa fixing 1877182
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-22 14:02:37 +00:00
Václav Slavík
e9267735a3 ignore Visual Studio per-user/machine settings files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-22 13:33:49 +00:00
Václav Slavík
987ae041ae updated include/wx/meta/* files list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-22 13:31:20 +00:00
Václav Slavík
6712283cf1 fixed wxVector<T> to work with non-POD types again; added optimization to keep using (much faster) realloc with types that are movable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-22 11:29:21 +00:00
Václav Slavík
ae46a7fd15 use xdg-open in wxLaunchDefaultBrowser() on Unix if available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-22 10:20:02 +00:00
Julian Smart
97f3b1e939 Added event handler macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-22 08:23:31 +00:00
Bryan Petty
601398b9b1 Fixed a rare wxAuiFloatingFrame dtor crash on MSW using a registration mechanism in wxAuiManager.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-22 08:20:18 +00:00
Vadim Zeitlin
3baef911e4 temporary fix for shared build linking problems after the last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-21 22:34:48 +00:00
Václav Slavík
ba808e1178 call Create from wxGrid non-default ctor instead to ensure both methods of creation are in sync (they drifted apart already)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-21 17:18:47 +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
Václav Slavík
7f35e5eeca prefix implementation methods of wxBitmapButton with 'GTK' to prevent shadowing of HasFocus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-21 15:03:10 +00:00
Václav Slavík
56465170cc updated wxExecute checks in wxGTK to be same as in other Unix ports after recent changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-21 14:51:49 +00:00
Václav Slavík
563a24f061 silence compiler warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-21 13:53:37 +00:00
Václav Slavík
3358af0f87 added wxWindow::HasFocus() for more convenient way of determining if a (possibly composite) window has focus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-21 13:30:24 +00:00
Francesco Montorsi
6f67af05ca mention also the contrib libraries removal/movements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-21 12:29:52 +00:00
Václav Slavík
4f927337cc use full path to headers in header guards
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-21 11:56:15 +00:00
Vadim Zeitlin
d9a4fe17c8 document GetTemplates() instead of m_templates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-21 10:07:42 +00:00
Václav Slavík
7df6b37a50 reverted last commit, it was wrong
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-21 08:45:19 +00:00
Václav Slavík
17c4163028 utils.h is not needed by wxVector, removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-21 08:42:56 +00:00
Vadim Zeitlin
c699b4583b no changes, just come cleanup and more comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-20 22:55:16 +00:00
Vadim Zeitlin
22de6a4083 add wxDatePickerCtrl support in wxGenericValidator (patch 1870174)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-20 22:40:14 +00:00
Vadim Zeitlin
fb91e8d098 document LoadObject() (patch 1873045)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-20 22:32:30 +00:00