]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
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

16 years agoextract parts of wxXRC depending on wxAdv in a separate file to allow statically...
Vadim Zeitlin [Sat, 2 Aug 2008 14:15:22 +0000 (14:15 +0000)] 
extract parts of wxXRC depending on wxAdv in a separate file to allow statically linking with wxXRC but without wxAdv; note that rebaked project/make files also contain ustring.cpp/h now

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

16 years agoSupport NOR logical function
Robert Roebling [Sat, 2 Aug 2008 14:14:17 +0000 (14:14 +0000)] 
Support NOR logical function

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

16 years agoMinor formating
Robert Roebling [Sat, 2 Aug 2008 14:10:54 +0000 (14:10 +0000)] 
Minor formating

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

16 years agoVC6 compilation warning fix for non-defined template class copy ctor
Vadim Zeitlin [Sat, 2 Aug 2008 13:10:33 +0000 (13:10 +0000)] 
VC6 compilation warning fix for non-defined template class copy ctor

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

16 years agoguarding all text methods against unset font
Stefan Csomor [Sat, 2 Aug 2008 06:40:21 +0000 (06:40 +0000)] 
guarding all text methods against unset font

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

16 years agoguarding preproc variable against undefined
Stefan Csomor [Sat, 2 Aug 2008 04:47:39 +0000 (04:47 +0000)] 
guarding preproc variable against undefined

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

16 years agocapitalize the application name in GetAppDisplayName() by default; this results in...
Vadim Zeitlin [Fri, 1 Aug 2008 23:47:22 +0000 (23:47 +0000)] 
capitalize the application name in GetAppDisplayName() by default; this results in logging message appearance consistent with wx 2.8 and generally looks better

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

16 years agoadd wxString::Capitalize() and MakeCapitalized() for consistency with Upper/Lower...
Vadim Zeitlin [Fri, 1 Aug 2008 23:39:11 +0000 (23:39 +0000)] 
add wxString::Capitalize() and MakeCapitalized() for consistency with Upper/Lower() we already have

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

16 years agoadded a number of NULL ptr asserts (#4145)
Benjamin Williams [Fri, 1 Aug 2008 21:04:31 +0000 (21:04 +0000)] 
added a number of NULL ptr asserts (#4145)

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

16 years agofix for defect #4827
Benjamin Williams [Fri, 1 Aug 2008 18:59:21 +0000 (18:59 +0000)] 
fix for defect #4827

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

16 years agofix for ticket #4505, Floatable(false) wasn't working in all cases
Benjamin Williams [Fri, 1 Aug 2008 18:35:34 +0000 (18:35 +0000)] 
fix for ticket #4505, Floatable(false) wasn't working in all cases

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

16 years agoadding info about opaque classes, making sure refs are displayed correctly in pdf
Stefan Csomor [Fri, 1 Aug 2008 18:24:53 +0000 (18:24 +0000)] 
adding info about opaque classes, making sure refs are displayed correctly in pdf

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

16 years agoadding logo on frontpage of pdflatex output
Stefan Csomor [Fri, 1 Aug 2008 17:24:14 +0000 (17:24 +0000)] 
adding logo on frontpage of pdflatex output

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

16 years agofloating pane now respects IsFixed pane status; indirect fix for #4044
Benjamin Williams [Fri, 1 Aug 2008 16:08:35 +0000 (16:08 +0000)] 
floating pane now respects IsFixed pane status; indirect fix for #4044

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

16 years agoadd more stock items (#9799)
Vadim Zeitlin [Fri, 1 Aug 2008 14:38:02 +0000 (14:38 +0000)] 
add more stock items (#9799)

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

16 years agoremoved a cast to WPARAM which was unnecessary and provoked a warning (part of #9803)
Vadim Zeitlin [Fri, 1 Aug 2008 14:31:00 +0000 (14:31 +0000)] 
removed a cast to WPARAM which was unnecessary and provoked a warning (part of #9803)

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

16 years agoinherit wx_error_mgr from jpeg_error_mgr instead of embedding the latter in the forme...
Vadim Zeitlin [Fri, 1 Aug 2008 14:29:33 +0000 (14:29 +0000)] 
inherit wx_error_mgr from jpeg_error_mgr instead of embedding the latter in the former (part of #9803)

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