]>
git.saurik.com Git - wxWidgets.git/log
Václav Slavík [Wed, 20 Aug 2008 21:35:55 +0000 (21:35 +0000)]
re-fix MinGW DLL compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55133
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Tue, 19 Aug 2008 16:28:40 +0000 (16:28 +0000)]
remove text field from page data, add much more useful image widget pointer, lots of code simplification and cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55132
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Tue, 19 Aug 2008 16:28:21 +0000 (16:28 +0000)]
non-pch build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55131
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 18 Aug 2008 20:05:51 +0000 (20:05 +0000)]
fix MSVC warning about int->bool conversion introduced by r55113 [forward port from 2.8 branch]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55126
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 18 Aug 2008 19:52:00 +0000 (19:52 +0000)]
don't use WXDLLIMPEXP_BASE_DATA() around member data, this results in an error in MSVC DLL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55124
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 18 Aug 2008 13:40:18 +0000 (13:40 +0000)]
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
Vadim Zeitlin [Mon, 18 Aug 2008 13:27:58 +0000 (13:27 +0000)]
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
Vadim Zeitlin [Mon, 18 Aug 2008 12:02:01 +0000 (12:02 +0000)]
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
Vadim Zeitlin [Mon, 18 Aug 2008 11:57:55 +0000 (11:57 +0000)]
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
Vadim Zeitlin [Mon, 18 Aug 2008 11:51:53 +0000 (11:51 +0000)]
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
Vadim Zeitlin [Mon, 18 Aug 2008 11:41:27 +0000 (11:41 +0000)]
document wxSpinCtrlDouble (#9834)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55114
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 18 Aug 2008 11:30:10 +0000 (11:30 +0000)]
add comparison operators for UUID class (#9871)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55113
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 16 Aug 2008 10:53:02 +0000 (10:53 +0000)]
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
Vadim Zeitlin [Fri, 15 Aug 2008 23:04:31 +0000 (23:04 +0000)]
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
Vadim Zeitlin [Fri, 15 Aug 2008 23:01:28 +0000 (23:01 +0000)]
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
Paul Cornett [Fri, 15 Aug 2008 04:52:13 +0000 (04:52 +0000)]
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
Václav Slavík [Wed, 13 Aug 2008 15:48:09 +0000 (15:48 +0000)]
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
Václav Slavík [Wed, 13 Aug 2008 15:47:20 +0000 (15:47 +0000)]
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
Stefan Csomor [Wed, 13 Aug 2008 15:20:57 +0000 (15:20 +0000)]
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
Stefan Csomor [Wed, 13 Aug 2008 15:14:31 +0000 (15:14 +0000)]
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
Paul Cornett [Wed, 13 Aug 2008 14:56:42 +0000 (14:56 +0000)]
move notebook event definition to common code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55079
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 13 Aug 2008 12:31:13 +0000 (12:31 +0000)]
fix typo in __WWXMAC__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55078
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Wed, 13 Aug 2008 09:00:36 +0000 (09:00 +0000)]
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
Václav Slavík [Tue, 12 Aug 2008 16:03:17 +0000 (16:03 +0000)]
apply Stefan's fix for wxHtmlDCRenderer clipping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55070
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Tue, 12 Aug 2008 15:10:57 +0000 (15:10 +0000)]
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
Václav Slavík [Mon, 11 Aug 2008 19:31:23 +0000 (19:31 +0000)]
added microbenchmark for wxCharBuffer performance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55061
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Sun, 10 Aug 2008 20:54:35 +0000 (20:54 +0000)]
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
Paul Cornett [Sun, 10 Aug 2008 20:45:06 +0000 (20:45 +0000)]
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
Paul Cornett [Sun, 10 Aug 2008 20:44:51 +0000 (20:44 +0000)]
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
Václav Slavík [Sun, 10 Aug 2008 20:41:10 +0000 (20:41 +0000)]
DLLs linking fix wxCharTypeBuffer<T>::NullData
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55052
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sun, 10 Aug 2008 20:40:48 +0000 (20:40 +0000)]
pch-less compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55051
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sun, 10 Aug 2008 20:29:11 +0000 (20:29 +0000)]
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
Václav Slavík [Sun, 10 Aug 2008 20:28:20 +0000 (20:28 +0000)]
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
Václav Slavík [Sun, 10 Aug 2008 19:37:51 +0000 (19:37 +0000)]
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
Paul Cornett [Sun, 10 Aug 2008 18:26:33 +0000 (18:26 +0000)]
some code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55047
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Sun, 10 Aug 2008 18:24:21 +0000 (18:24 +0000)]
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
Robin Dunn [Sun, 10 Aug 2008 00:26:53 +0000 (00:26 +0000)]
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
Paul Cornett [Sun, 10 Aug 2008 00:19:56 +0000 (00:19 +0000)]
fix previous commit to respect minimum width
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55041
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sun, 10 Aug 2008 00:14:27 +0000 (00:14 +0000)]
fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55040
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 9 Aug 2008 22:44:35 +0000 (22:44 +0000)]
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
Václav Slavík [Sat, 9 Aug 2008 21:38:21 +0000 (21:38 +0000)]
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
Vadim Zeitlin [Sat, 9 Aug 2008 15:50:24 +0000 (15:50 +0000)]
added test for Replace(whatever, "")
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55032
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 8 Aug 2008 19:00:19 +0000 (19:00 +0000)]
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
Vadim Zeitlin [Fri, 8 Aug 2008 02:59:32 +0000 (02:59 +0000)]
added wxTLS_TYPE() macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55019
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 8 Aug 2008 02:37:56 +0000 (02:37 +0000)]
add DECLARE_NO_COPY_TEMPLATE_CLASS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55018
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 8 Aug 2008 02:35:56 +0000 (02:35 +0000)]
document DECLARE_NO_{COPY,ASSIGN}_CLASS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55017
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 8 Aug 2008 01:13:30 +0000 (01:13 +0000)]
added Win32 TLS tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55016
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 8 Aug 2008 00:43:20 +0000 (00:43 +0000)]
add TLS access benchmark
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55015
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Thu, 7 Aug 2008 15:59:46 +0000 (15:59 +0000)]
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
Paul Cornett [Thu, 7 Aug 2008 15:59:33 +0000 (15:59 +0000)]
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
Vadim Zeitlin [Thu, 7 Aug 2008 12:17:52 +0000 (12:17 +0000)]
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
Václav Slavík [Thu, 7 Aug 2008 11:46:59 +0000 (11:46 +0000)]
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
Paul Cornett [Thu, 7 Aug 2008 06:51:26 +0000 (06:51 +0000)]
build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55005
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Thu, 7 Aug 2008 06:51:10 +0000 (06:51 +0000)]
fix sizing of extra control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55004
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 6 Aug 2008 22:34:40 +0000 (22:34 +0000)]
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
Vadim Zeitlin [Wed, 6 Aug 2008 17:53:25 +0000 (17:53 +0000)]
pass asciistr, not utf8str, to FromAscii
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54997
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 6 Aug 2008 17:50:06 +0000 (17:50 +0000)]
don't disable optimize if --enable-debug_info was specified, this makes it impossible to build an optimized version with debug info
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54996
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Wed, 6 Aug 2008 16:26:16 +0000 (16:26 +0000)]
use "new" GtkToolbar API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54995
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 6 Aug 2008 14:22:13 +0000 (14:22 +0000)]
show default values of the options in the usage message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54994
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 6 Aug 2008 10:25:10 +0000 (10:25 +0000)]
replace wxASSERT in wxFindNextFile() with wxCHECK to avoid crashes in release build (#9828)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54992
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 5 Aug 2008 22:47:11 +0000 (22:47 +0000)]
fix an assert failure when a child TLW was created and destroyed while the parent window was frozen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54984
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Tue, 5 Aug 2008 17:52:02 +0000 (17:52 +0000)]
fixing remainder of bug #3776, clean activateAndIgnoreClick behaviour for DataBrowser
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54981
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 5 Aug 2008 17:13:03 +0000 (17:13 +0000)]
correct use of WXDLLIMPEXP_BASE for wxChar16 wxStrlen() overloads (#9827)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54979
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 5 Aug 2008 16:58:54 +0000 (16:58 +0000)]
label different controls on spin page (#9816)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54978
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Tue, 5 Aug 2008 11:55:21 +0000 (11:55 +0000)]
custom info.plist with supported document types
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54975
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Tue, 5 Aug 2008 11:49:26 +0000 (11:49 +0000)]
adding support for overwrites from project bkls for info.plist files and custom icons following directions from Vaclav
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54974
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 5 Aug 2008 01:55:44 +0000 (01:55 +0000)]
mark holidays if wxCAL_SHOW_HOLIDAYS is on (replaces #9155)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54971
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 5 Aug 2008 01:22:19 +0000 (01:22 +0000)]
fix bug in Mark() which highlighted the day not only in the currently shown month but also in adjancet ones (see #9155)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54970
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 5 Aug 2008 01:05:17 +0000 (01:05 +0000)]
fix wxMenu leak (reopened #9089)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54969
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Bryan Petty [Mon, 4 Aug 2008 18:02:55 +0000 (18:02 +0000)]
Review of socket.h interface header by Utensil Candel (#9584).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54968
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Mon, 4 Aug 2008 15:32:34 +0000 (15:32 +0000)]
Allow small widths if setting initial strings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54966
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 4 Aug 2008 00:37:00 +0000 (00:37 +0000)]
general docview.cpp code cleanup; use wxVector<> instead of manually-allocated arrays; refactor wxDocManager::CreateDocument() and allow using wxDOC_SILENT with wxDOC_NEW; cleanup wxFileHistory code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54965
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 3 Aug 2008 23:58:24 +0000 (23:58 +0000)]
fix fatal bug in wxVector copy ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54964
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sun, 3 Aug 2008 17:36:10 +0000 (17:36 +0000)]
fixing name typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54963
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sun, 3 Aug 2008 17:34:59 +0000 (17:34 +0000)]
moving osx files (rename will follow)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54962
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 3 Aug 2008 14:34:43 +0000 (14:34 +0000)]
return empty string instead of some garbage if strftime() failed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54961
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Benjamin Williams [Sun, 3 Aug 2008 13:58:08 +0000 (13:58 +0000)]
fix mouse capture lost assert when dialog shown in tab change event handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54960
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 3 Aug 2008 12:24:25 +0000 (12:24 +0000)]
compilation fix for PCH-less build; also moved some functions out of line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54958
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 3 Aug 2008 12:15:30 +0000 (12:15 +0000)]
fix view rectangle calculation for the control with scrollbars (#9467)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54957
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 3 Aug 2008 11:53:38 +0000 (11:53 +0000)]
add BSTR arrays handling in wxConvertOleToVariant() (#9636)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54956
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 3 Aug 2008 11:47:01 +0000 (11:47 +0000)]
add support for multiline labels in wxToggleButton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54955
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 3 Aug 2008 11:27:03 +0000 (11:27 +0000)]
no real changes, just refactor to remove some code duplication in wxToolBarTool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54954
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 3 Aug 2008 11:23:51 +0000 (11:23 +0000)]
implement wxToolBarTool::SetLabel() for wxOSX_USE_NATIVE_TOOLBAR (#9746)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54953
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 3 Aug 2008 11:16:26 +0000 (11:16 +0000)]
use wxPEN/BRUSH_XXX instead of wxXXX (#9812)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54952
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 3 Aug 2008 11:12:58 +0000 (11:12 +0000)]
make SetValidator() symmetric with GetValidator() (#9793)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54951
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 3 Aug 2008 10:59:30 +0000 (10:59 +0000)]
update for wxSHUTDOWN_LOGOFF/FORCE, should have been part of r54949
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54950
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 3 Aug 2008 10:56:05 +0000 (10:56 +0000)]
added wxSHUTDOWN_LOGOFF flag, don't use EWX_FORCE by default but only if wxSHUTDOWN_FORCE is specified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54949
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 3 Aug 2008 10:54:33 +0000 (10:54 +0000)]
compilation fix for PCH-less build after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54948
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 3 Aug 2008 10:31:07 +0000 (10:31 +0000)]
store palette information from XPM in wxImage (#9763)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54947
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Benjamin Williams [Sun, 3 Aug 2008 10:09:43 +0000 (10:09 +0000)]
fix segfault when Update() is called inbetween mouse-up and mouse-down
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54946
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 3 Aug 2008 00:36:52 +0000 (00:36 +0000)]
don't keep the transparent palette colour from the previous frame for the next one which may not have any transparency at all (#9747)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54944
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 3 Aug 2008 00:32:12 +0000 (00:32 +0000)]
no real changes, just some cleanup: use wxON_BLOCK_EXIT instead of littering the code with delete[] statements; don't use identifiers starting with underscore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54943
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 3 Aug 2008 00:23:38 +0000 (00:23 +0000)]
add support for reading alpha channel from BMP images (#9741)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54942
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 3 Aug 2008 00:10:06 +0000 (00:10 +0000)]
compilation after last commit: semicolon after wxDELETE() is now required; also removed some other extra semicolons and other minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54941
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 2 Aug 2008 22:49:01 +0000 (22:49 +0000)]
made wxDELETE[A]() template functions instead of macros; they now also check that their argument is fully declared (#9685)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54940
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 2 Aug 2008 22:34:37 +0000 (22:34 +0000)]
don't use our custom WM_PAINT handler with composited window as this results in an endless repaint loop (#9666); also don't even define HandlePaint() under CE as it's never used there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54939
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 2 Aug 2008 22:33:08 +0000 (22:33 +0000)]
return true from IsDoubleBuffered() if our TLW parent is a composited window; the old version returned false in this case which probably was unintentional as it doesn't seem to make sense (see #9666)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54938
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 2 Aug 2008 22:30:05 +0000 (22:30 +0000)]
add wxGet/Set/HasWindowExStyle() helpers and use them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54937
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 2 Aug 2008 22:24:15 +0000 (22:24 +0000)]
compilation fix after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54936
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 2 Aug 2008 22:00:53 +0000 (22:00 +0000)]
copy both alpha and mask in Paste() (#9658)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54935
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775