]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
16 years agodocument wxSpinCtrlDouble (#9834)
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

16 years agoadd comparison operators for UUID class (#9871)
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

16 years agofix spurious assert failure in DestroyGripper() which happened if the dialog hadn...
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

16 years agocompilation fix for wxUSE_STL build after r54926 (#9810)
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

16 years agocompilation fix for wxUniv/MSW after r54937 (#9866)
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

16 years agofix for page change not working after veto, #3808
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

16 years agoadded wxString benchmark using 2.8's HTML parser
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

16 years agoHAVE_BOOST_THREAD should be off by default
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

16 years agoadding generic BUNDLE_RESOURCES for copying any special resources into the bundle...
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

16 years agofixing remainder of bug #3776, clean activateAndIgnoreClick behaviour for DataBrowser
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

16 years agomove notebook event definition to common code
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

16 years agofix typo in __WWXMAC__
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

16 years agoadd assert checking that GetCapture() and ms_winCaptureCurrentare in sync
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

16 years agoapply Stefan's fix for wxHtmlDCRenderer clipping
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

16 years agomade wxCharTypeBuffer<T>::release() const again, for compatibility
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

16 years agoadded microbenchmark for wxCharBuffer performance
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

16 years agoUse WXUNUSED and give more explaination for the handler
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

16 years agodon't modify position for default border if button is in a native widget
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

16 years agoadd control items from child inserter, so that correct style is set early enough
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

16 years agoDLLs linking fix wxCharTypeBuffer<T>::NullData
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

16 years agopch-less compilation fix
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

16 years agocompilation fix: wxUString uses it's own wxCharTypeBuffer<T> specializations and...
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

16 years agoradically simplified declarations of wxUString-specific char buffers: there are no...
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

16 years agoadded refcounting to wxCharBuffer to fix passing of wxCharBuffer to printf-like functions
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

16 years agosome code cleanup
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

16 years agoset extra widget from child inserter, so that correct style is set early enough
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

16 years agoAvoid default child window focus behavior in generic wxListCtrl. Fixes #9563
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

16 years agofix previous commit to respect minimum width
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

16 years agofixed typo
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

16 years agoinitialize the button label correctly if the same wizard is ran again
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

16 years agomore strict UTF-8 validity checks, as it should be (patch #9847)
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

16 years agoadded test for Replace(whatever, "")
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

16 years agoundid changes accidentally committed as part of r55019
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

16 years agoadded wxTLS_TYPE() macro
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

16 years agoadd DECLARE_NO_COPY_TEMPLATE_CLASS
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

16 years agodocument DECLARE_NO_{COPY,ASSIGN}_CLASS
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

16 years agoadded Win32 TLS tests
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

16 years agoadd TLS access benchmark
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

16 years agoFixed scrolling bug where scrollbar was taken to be a valid child window
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

16 years agoallow dialog to be resized smaller with extra control
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

16 years agodon't call OnCloseDocument() from OnNewDocument(), this plainly doesn't make sense...
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

16 years agosmall wxArtProvider API improvements: added HasNativeProvider() and renamed confusing...
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

16 years agobuild fixes
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

16 years agofix sizing of extra control
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

16 years agoinitialize a local variable even if it doesn't really need to be initialized to suppr...
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

16 years agopass asciistr, not utf8str, to FromAscii
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

16 years agodon't disable optimize if --enable-debug_info was specified, this makes it impossible...
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

16 years agouse "new" GtkToolbar API
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

16 years agoshow default values of the options in the usage message
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

16 years agoreplace wxASSERT in wxFindNextFile() with wxCHECK to avoid crashes in release build...
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

16 years agofix an assert failure when a child TLW was created and destroyed while the parent...
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

16 years agofixing remainder of bug #3776, clean activateAndIgnoreClick behaviour for DataBrowser
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

16 years agocorrect use of WXDLLIMPEXP_BASE for wxChar16 wxStrlen() overloads (#9827)
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

16 years agolabel different controls on spin page (#9816)
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

16 years agocustom info.plist with supported document types
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

16 years agoadding support for overwrites from project bkls for info.plist files and custom icons...
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

16 years agomark holidays if wxCAL_SHOW_HOLIDAYS is on (replaces #9155)
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

16 years agofix bug in Mark() which highlighted the day not only in the currently shown month...
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

16 years agofix wxMenu leak (reopened #9089)
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

16 years agoReview of socket.h interface header by Utensil Candel (#9584).
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

16 years agoAllow small widths if setting initial strings.
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

16 years agogeneral docview.cpp code cleanup; use wxVector<> instead of manually-allocated arrays...
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

16 years agofix fatal bug in wxVector copy ctor
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

16 years agofixing name typo
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

16 years agomoving osx files (rename will follow)
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

16 years agoreturn empty string instead of some garbage if strftime() failed
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

16 years agofix mouse capture lost assert when dialog shown in tab change event handler
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

16 years agocompilation fix for PCH-less build; also moved some functions out of line
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

16 years agofix view rectangle calculation for the control with scrollbars (#9467)
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

16 years agoadd BSTR arrays handling in wxConvertOleToVariant() (#9636)
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

16 years agoadd support for multiline labels in wxToggleButton
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

16 years agono real changes, just refactor to remove some code duplication in wxToolBarTool
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

16 years agoimplement wxToolBarTool::SetLabel() for wxOSX_USE_NATIVE_TOOLBAR (#9746)
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

16 years agouse wxPEN/BRUSH_XXX instead of wxXXX (#9812)
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

16 years agomake SetValidator() symmetric with GetValidator() (#9793)
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

16 years agoupdate for wxSHUTDOWN_LOGOFF/FORCE, should have been part of r54949
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

16 years agoadded wxSHUTDOWN_LOGOFF flag, don't use EWX_FORCE by default but only if wxSHUTDOWN_F...
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

16 years agocompilation fix for PCH-less build after last commit
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

16 years agostore palette information from XPM in wxImage (#9763)
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

16 years agofix segfault when Update() is called inbetween mouse-up and mouse-down
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

16 years agodon't keep the transparent palette colour from the previous frame for the next one...
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

16 years agono real changes, just some cleanup: use wxON_BLOCK_EXIT instead of littering the...
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

16 years agoadd support for reading alpha channel from BMP images (#9741)
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

16 years agocompilation after last commit: semicolon after wxDELETE() is now required; also remov...
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

16 years agomade wxDELETE[A]() template functions instead of macros; they now also check that...
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

16 years agodon't use our custom WM_PAINT handler with composited window as this results in an...
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

16 years agoreturn true from IsDoubleBuffered() if our TLW parent is a composited window; the...
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

16 years agoadd wxGet/Set/HasWindowExStyle() helpers and use them
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

16 years agocompilation fix after last commit
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

16 years agocopy both alpha and mask in Paste() (#9658)
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

16 years agoadd wxRenderer::GetCheckBoxSize(); refactor wxGTK code to avoid duplication (#9642)
Vadim Zeitlin [Sat, 2 Aug 2008 21:51:22 +0000 (21:51 +0000)] 
add wxRenderer::GetCheckBoxSize(); refactor wxGTK code to avoid duplication (#9642)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoadded trivial wxLaunchDefaultApplication() implementation for wxMac; added a test...
Vadim Zeitlin [Sat, 2 Aug 2008 21:49:06 +0000 (21:49 +0000)] 
added trivial wxLaunchDefaultApplication() implementation for wxMac; added a test for it to the exec sample

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoadd wxImage::SetType() and use it in animation decoders (#9639)
Vadim Zeitlin [Sat, 2 Aug 2008 20:13:41 +0000 (20:13 +0000)] 
add wxImage::SetType() and use it in animation decoders (#9639)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agodocument "clear" parameter of ctor/Create() properly (part of #9639)
Vadim Zeitlin [Sat, 2 Aug 2008 20:00:50 +0000 (20:00 +0000)] 
document "clear" parameter of ctor/Create() properly (part of #9639)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agofix keyboard navigation in radio boxes containing hidden or disabled items
Vadim Zeitlin [Sat, 2 Aug 2008 19:45:23 +0000 (19:45 +0000)] 
fix keyboard navigation in radio boxes containing hidden or disabled items

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoadded enabled and hidden attributes to radio box items in XRC
Vadim Zeitlin [Sat, 2 Aug 2008 18:21:38 +0000 (18:21 +0000)] 
added enabled and hidden attributes to radio box items in XRC

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoimprove best size calculation; notably account for wxDP_ALLOWNONE
Vadim Zeitlin [Sat, 2 Aug 2008 17:50:16 +0000 (17:50 +0000)] 
improve best size calculation; notably account for wxDP_ALLOWNONE

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoensure that one of wxRA_SPECIFY_{COLS,ROWS} is set in the radiobox style, otherwise...
Vadim Zeitlin [Sat, 2 Aug 2008 15:59:13 +0000 (15:59 +0000)] 
ensure that one of wxRA_SPECIFY_{COLS,ROWS} is set in the radiobox style, otherwise layout code doesn't work correctly and this can easily happen if the radiobox is created from an XRC file not specifying its style at all

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoimplement wxLaunchDefaultApplication() for MSW and document it (#9810)
Vadim Zeitlin [Sat, 2 Aug 2008 15:31:38 +0000 (15:31 +0000)] 
implement wxLaunchDefaultApplication() for MSW and document it (#9810)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 years agoPCH-less build fix after the last commit
Vadim Zeitlin [Sat, 2 Aug 2008 15:20:27 +0000 (15:20 +0000)] 
PCH-less build fix after the last commit

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775