]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
15 years agoset socket state to connected when it receives a connection notification, otherwise...
Vadim Zeitlin [Thu, 2 Jul 2009 16:10:12 +0000 (16:10 +0000)] 
set socket state to connected when it receives a connection notification, otherwise WaitOnConnect() had to be called for asynchrnously Connect()ed sockets to work (closes #10952)

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

15 years agofixing memory leak and unnecessary cocoa init, refs #10856
Stefan Csomor [Thu, 2 Jul 2009 14:52:12 +0000 (14:52 +0000)] 
fixing memory leak and unnecessary cocoa init, refs #10856

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

15 years agoreverting incorrect conversion from r52690, refs #10856
Stefan Csomor [Thu, 2 Jul 2009 13:23:51 +0000 (13:23 +0000)] 
reverting incorrect conversion from r52690, refs #10856

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

15 years agoignore bCase parameter of wxSortedArrayString::Index() in STL build just as we do...
Vadim Zeitlin [Thu, 2 Jul 2009 09:08:50 +0000 (09:08 +0000)] 
ignore bCase parameter of wxSortedArrayString::Index() in STL build just as we do in non-STL one (it didn't work correctly anyhow)

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

15 years agoadded X11R7 directories to X libraries search path (needed for NetBSD)
Vadim Zeitlin [Thu, 2 Jul 2009 09:00:20 +0000 (09:00 +0000)] 
added X11R7 directories to X libraries search path (needed for NetBSD)

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

15 years agoset the context we create in IsExtensionSupported() (see #10545)
Vadim Zeitlin [Wed, 1 Jul 2009 09:34:54 +0000 (09:34 +0000)] 
set the context we create in IsExtensionSupported() (see #10545)

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

15 years agofixed handling of --with-opengl=auto (default value) for Mac/MSW (it behaved as ...
Vadim Zeitlin [Wed, 1 Jul 2009 09:33:21 +0000 (09:33 +0000)] 
fixed handling of --with-opengl=auto (default value) for Mac/MSW (it behaved as --without-opengl before)

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

15 years agointerpret ~ specially only when it is the first character of the path (closes #10948...
Vadim Zeitlin [Wed, 1 Jul 2009 09:07:38 +0000 (09:07 +0000)] 
interpret ~ specially only when it is the first character of the path (closes #10948, see #10941)

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

15 years agoremove _T()s and wxChars from the test making it much more readable
Vadim Zeitlin [Wed, 1 Jul 2009 09:02:30 +0000 (09:02 +0000)] 
remove _T()s and wxChars from the test making it much more readable

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

15 years agoensure that we have event loop before showing a modal dialog; this allows to do it...
Vadim Zeitlin [Wed, 1 Jul 2009 09:02:06 +0000 (09:02 +0000)] 
ensure that we have event loop before showing a modal dialog; this allows to do it even before the main application loop starts

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

15 years agomake wxSortedArrayString::Sort() and Insert() private in STL build (closes #10947)
Vadim Zeitlin [Wed, 1 Jul 2009 08:56:31 +0000 (08:56 +0000)] 
make wxSortedArrayString::Sort() and Insert() private in STL build (closes #10947)

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

15 years agocorrect wxSortedArrayString(wxArrayString) ctor documentation (closes #10944)
Vadim Zeitlin [Tue, 30 Jun 2009 13:31:53 +0000 (13:31 +0000)] 
correct wxSortedArrayString(wxArrayString) ctor documentation (closes #10944)

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

15 years agodon't use wxFilePicker style when creating wxButton
Vadim Zeitlin [Mon, 29 Jun 2009 22:07:34 +0000 (22:07 +0000)] 
don't use wxFilePicker style when creating wxButton

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

15 years agoFix typo in class name.
Kevin Ollivier [Sun, 28 Jun 2009 23:16:25 +0000 (23:16 +0000)] 
Fix typo in class name.

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

15 years agosimplify ScrollTo()
Vadim Zeitlin [Sun, 28 Jun 2009 21:50:55 +0000 (21:50 +0000)] 
simplify ScrollTo()

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

15 years agoremove obsolete comment moved to wxBitmapButtonBase
Vadim Zeitlin [Sun, 28 Jun 2009 21:49:48 +0000 (21:49 +0000)] 
remove obsolete comment moved to wxBitmapButtonBase

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

15 years agoanother compilation fix after r61232
Vadim Zeitlin [Sun, 28 Jun 2009 21:02:20 +0000 (21:02 +0000)] 
another compilation fix after r61232

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

15 years agodon't include wx/msw/winundef.h when including wx/defs.h from C code (closes #10910)
Vadim Zeitlin [Sun, 28 Jun 2009 17:32:20 +0000 (17:32 +0000)] 
don't include wx/msw/winundef.h when including wx/defs.h from C code (closes #10910)

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

15 years agocompilation fix for wxUniv with 2.8 compatibility disabled (closes #10912)
Vadim Zeitlin [Sun, 28 Jun 2009 17:16:41 +0000 (17:16 +0000)] 
compilation fix for wxUniv with 2.8 compatibility disabled (closes #10912)

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

15 years agoAllow for menus when deleting a tool
Julian Smart [Sun, 28 Jun 2009 17:01:13 +0000 (17:01 +0000)] 
Allow for menus when deleting a tool

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

15 years agoadded wxICON_NONE and implement support for it in wxGTK (closes #2897)
Vadim Zeitlin [Sun, 28 Jun 2009 16:25:37 +0000 (16:25 +0000)] 
added wxICON_NONE and implement support for it in wxGTK (closes #2897)

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

15 years agocompilation fix after r61232
Vadim Zeitlin [Sun, 28 Jun 2009 16:22:55 +0000 (16:22 +0000)] 
compilation fix after r61232

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

15 years agoalways use wxBU_NOTEXT and wxBU_EXACTFIT for wxBitmapButton under all platforms ...
Vadim Zeitlin [Sun, 28 Jun 2009 16:14:37 +0000 (16:14 +0000)] 
always use wxBU_NOTEXT and wxBU_EXACTFIT for wxBitmapButton under all platforms (which required some refactoring) (hopefully really closes #10927)

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

15 years agoset the initial size of bitmap buttons correctly again after it was broken by r61081...
Vadim Zeitlin [Sat, 27 Jun 2009 22:22:48 +0000 (22:22 +0000)] 
set the initial size of bitmap buttons correctly again after it was broken by r61081 (closes #10927)

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

15 years agocheck whether we show bitmaps at all in GTKUpdateBitmap() (closes #10933)
Vadim Zeitlin [Sat, 27 Jun 2009 22:11:41 +0000 (22:11 +0000)] 
check whether we show bitmaps at all in GTKUpdateBitmap() (closes #10933)

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

15 years agocorrect an example which had no chance of working
Vadim Zeitlin [Sat, 27 Jun 2009 21:35:27 +0000 (21:35 +0000)] 
correct an example which had no chance of working

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

15 years agoFix for toolbar commands not working
Julian Smart [Sat, 27 Jun 2009 12:31:12 +0000 (12:31 +0000)] 
Fix for toolbar commands not working

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

15 years agoAdd wxGraphicsBitmap overload for DrawBitmap.
Kevin Ollivier [Wed, 24 Jun 2009 21:28:31 +0000 (21:28 +0000)] 
Add wxGraphicsBitmap overload for DrawBitmap.

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

15 years agomention that the date passed to SetValue() must only be valid unless the control...
Vadim Zeitlin [Wed, 24 Jun 2009 18:20:12 +0000 (18:20 +0000)] 
mention that the date passed to SetValue() must only be valid unless the control has wxDP_ALLOWNONE style

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

15 years agocompilation fix after wxBitmap image changes
Vadim Zeitlin [Wed, 24 Jun 2009 14:49:53 +0000 (14:49 +0000)] 
compilation fix after wxBitmap image changes

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

15 years agosuppress warning about implicit conversion of literal string XmSTRING_DEFAULT_CHARSET...
Vadim Zeitlin [Wed, 24 Jun 2009 14:49:09 +0000 (14:49 +0000)] 
suppress warning about implicit conversion of literal string XmSTRING_DEFAULT_CHARSET to non-const char *

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

15 years agoStyle selection now restored after editing the style
Julian Smart [Wed, 24 Jun 2009 10:35:54 +0000 (10:35 +0000)] 
Style selection now restored after editing the style

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

15 years agoMade standard bullet names translatable
Julian Smart [Wed, 24 Jun 2009 10:28:20 +0000 (10:28 +0000)] 
Made standard bullet names translatable

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

15 years agoBuild fixes after the 2.8->trunk forward port.
Kevin Ollivier [Tue, 23 Jun 2009 17:39:14 +0000 (17:39 +0000)] 
Build fixes after the 2.8->trunk forward port.

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

15 years agoadjust the toolbar tools bitmap size to fit the biggest bitmap used under wxOSX too...
Vadim Zeitlin [Tue, 23 Jun 2009 10:21:18 +0000 (10:21 +0000)] 
adjust the toolbar tools bitmap size to fit the biggest bitmap used under wxOSX too, not only under MSW (and moved the code doing it to the common base class to avoid duplicating it)

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

15 years agoremove confusing wxDialog::ButtonSizerFlags and extract button styles properly in...
Vadim Zeitlin [Tue, 23 Jun 2009 08:56:32 +0000 (08:56 +0000)] 
remove confusing wxDialog::ButtonSizerFlags and extract button styles properly in each generic dialog implementation instead (closes #9836)

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

15 years agoAdded DoGetClientBestSize() and use it for a couple of controls in wxMSW.
Vadim Zeitlin [Mon, 22 Jun 2009 20:36:13 +0000 (20:36 +0000)] 
Added DoGetClientBestSize() and use it for a couple of controls in wxMSW.

DoGetClientBestSize() returns the best size of the client area, without
accounting for the border which is done by GetBestSize() itself and
DoGetBorderSize() called from it.

Use DoGetClientBestSize() in wxStaticText (where it was done
insideDoGetBestSize() before) and in wxListBox, to fix its height calculation.

Also use correct height of listbox items as returned by the control itself
instead of trying to guess it.

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

15 years agoinvalidate best window size when its label changes
Vadim Zeitlin [Mon, 22 Jun 2009 20:07:50 +0000 (20:07 +0000)] 
invalidate best window size when its label changes

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

15 years agostreamline best size calculation for buttons and made wxBU_EXACTFIT work as intended
Vadim Zeitlin [Mon, 22 Jun 2009 20:07:07 +0000 (20:07 +0000)] 
streamline best size calculation for buttons and made wxBU_EXACTFIT work as intended

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

15 years agorelayout the sizer containing the button after changing its label as this may change...
Vadim Zeitlin [Mon, 22 Jun 2009 18:37:09 +0000 (18:37 +0000)] 
relayout the sizer containing the button after changing its label as this may change the button size

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

15 years agofix more wxOSX/Carbon warnings in release build
Vadim Zeitlin [Mon, 22 Jun 2009 18:36:19 +0000 (18:36 +0000)] 
fix more wxOSX/Carbon warnings in release build

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

15 years agoSignificantly improved wxPropertyGrid's top-level parent change detection code (fixes...
Jaakko Salli [Mon, 22 Jun 2009 17:02:53 +0000 (17:02 +0000)] 
Significantly improved wxPropertyGrid's top-level parent change detection code (fixes #10919)

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

15 years agoextract event handler body in a separate function instead of using a hack to call...
Vadim Zeitlin [Mon, 22 Jun 2009 12:13:56 +0000 (12:13 +0000)] 
extract event handler body in a separate function instead of using a hack to call it with a NULL reference

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

15 years agofix for wxGTK1 & bmpbuttn
Jouk Jansen [Sun, 21 Jun 2009 13:02:52 +0000 (13:02 +0000)] 
fix for wxGTK1 & bmpbuttn

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

15 years agoadded support for bitmaps in wxButton to wxOSX/Cocoa
Vadim Zeitlin [Sun, 21 Jun 2009 03:01:53 +0000 (03:01 +0000)] 
added support for bitmaps in wxButton to wxOSX/Cocoa

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

15 years agono changes, just removed commented out Carbon code from this Cocoa file
Vadim Zeitlin [Sun, 21 Jun 2009 02:01:51 +0000 (02:01 +0000)] 
no changes, just removed commented out Carbon code from this Cocoa file

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

15 years agoForward port wxGraphicsBitmap cairo implementation, and fix the credit info in measur...
Kevin Ollivier [Sat, 20 Jun 2009 23:33:55 +0000 (23:33 +0000)] 
Forward port wxGraphicsBitmap cairo implementation, and fix the credit info in measuring.cpp

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

15 years agoPatch from Bruno Daniel to fix tab position inconsistency
Julian Smart [Sat, 20 Jun 2009 23:26:20 +0000 (23:26 +0000)] 
Patch from Bruno Daniel to fix tab position inconsistency

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

15 years agomake sure theme font info is reset if anything is changed
Stefan Csomor [Sat, 20 Jun 2009 23:10:10 +0000 (23:10 +0000)] 
make sure theme font info is reset if anything is changed

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

15 years agosimplify condition
Stefan Csomor [Sat, 20 Jun 2009 23:07:44 +0000 (23:07 +0000)] 
simplify condition

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

15 years agosuppress more float/double->int conversion warnings to be able to see anything else...
Vadim Zeitlin [Sat, 20 Jun 2009 21:27:20 +0000 (21:27 +0000)] 
suppress more float/double->int conversion warnings to be able to see anything else in wxOSX/Cocoa build

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

15 years agodon't try to resize the bitmap buttons with wxBORDER_NONE style to one of the standar...
Vadim Zeitlin [Sat, 20 Jun 2009 20:05:52 +0000 (20:05 +0000)] 
don't try to resize the bitmap buttons with wxBORDER_NONE style to one of the standard sizes, this results in more problems than it solves and still doesn't look good; document wxBORDER_NONE semantics under Mac

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

15 years agofix many mostly harmless warnings in wxOSX/Carbon build
Vadim Zeitlin [Sat, 20 Jun 2009 00:21:53 +0000 (00:21 +0000)] 
fix many mostly harmless warnings in wxOSX/Carbon build

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

15 years agoimplement wxTreeCtrl::GetFocusedItem() for wxMSW too (see #10859)
Vadim Zeitlin [Fri, 19 Jun 2009 23:48:50 +0000 (23:48 +0000)] 
implement wxTreeCtrl::GetFocusedItem() for wxMSW too (see #10859)

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

15 years agoinclude wx/arrstr.h as it's needed by wxImageHandler and may not be implicitly includ...
Vadim Zeitlin [Fri, 19 Jun 2009 23:46:21 +0000 (23:46 +0000)] 
include wx/arrstr.h as it's needed by wxImageHandler and may not be implicitly included from other headers in minimal builds (closes #10914)

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

15 years agono need to check for wxID_HELP buttons in SetLabel() now that it's overridden in...
Vadim Zeitlin [Fri, 19 Jun 2009 23:36:35 +0000 (23:36 +0000)] 
no need to check for wxID_HELP buttons in SetLabel() now that it's overridden in wxButton itself

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

15 years agoadded wxTreeCtrl::GetFocusedItem() (closes #10859)
Vadim Zeitlin [Fri, 19 Jun 2009 23:34:51 +0000 (23:34 +0000)] 
added wxTreeCtrl::GetFocusedItem() (closes #10859)

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

15 years agorename makemactags script to makeostags and extend it to work with either Carbon...
Vadim Zeitlin [Fri, 19 Jun 2009 23:30:47 +0000 (23:30 +0000)] 
rename makemactags script to makeostags and extend it to work with either Carbon or Cocoa

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

15 years agorespect wxBU_NOTEXT style in wxButton
Vadim Zeitlin [Fri, 19 Jun 2009 23:24:51 +0000 (23:24 +0000)] 
respect wxBU_NOTEXT style in wxButton

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

15 years agoguarding against null nowpeer in cases like native font or color dialogs
Stefan Csomor [Fri, 19 Jun 2009 14:38:07 +0000 (14:38 +0000)] 
guarding against null nowpeer in cases like native font or color dialogs

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

15 years agooverride DoSetBitmap() instead of SetBitmapLabel()
Vadim Zeitlin [Fri, 19 Jun 2009 04:47:59 +0000 (04:47 +0000)] 
override DoSetBitmap() instead of SetBitmapLabel()

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

15 years agomake the script executable
Vadim Zeitlin [Fri, 19 Jun 2009 03:57:06 +0000 (03:57 +0000)] 
make the script executable

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

15 years agoonly erase background if we do have a non-default background set
Vadim Zeitlin [Fri, 19 Jun 2009 00:01:40 +0000 (00:01 +0000)] 
only erase background if we do have a non-default background set

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

15 years agofix output of WX_ARG_DISABLE() for options which can have values other than yes/no...
Vadim Zeitlin [Thu, 18 Jun 2009 23:51:57 +0000 (23:51 +0000)] 
fix output of WX_ARG_DISABLE() for options which can have values other than yes/no (e.g. auto, as for wxUSE_COMPILER_TLS)

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

15 years agoerase background using the window background colour when using wxBG_STYLE_ERASE/SYSTEM
Vadim Zeitlin [Thu, 18 Jun 2009 23:00:49 +0000 (23:00 +0000)] 
erase background using the window background colour when using wxBG_STYLE_ERASE/SYSTEM

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

15 years agofix a couple of harmless warnings during wxOSX build
Vadim Zeitlin [Thu, 18 Jun 2009 22:54:21 +0000 (22:54 +0000)] 
fix a couple of harmless warnings during wxOSX build

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

15 years agono changes, just removed apparently unneeded wxMacBitmapButton class
Vadim Zeitlin [Thu, 18 Jun 2009 21:12:50 +0000 (21:12 +0000)] 
no changes, just removed apparently unneeded wxMacBitmapButton class

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

15 years agodisable deprecation warnings when building wxMac as there are just too many of them
Vadim Zeitlin [Thu, 18 Jun 2009 21:05:09 +0000 (21:05 +0000)] 
disable deprecation warnings when building wxMac as there are just too many of them

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

15 years agoAlso fixed Clear() in the generic control
Robert Roebling [Thu, 18 Jun 2009 18:22:10 +0000 (18:22 +0000)] 
Also fixed Clear() in the generic control

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

15 years agoset use-underline button property when setting its label
Vadim Zeitlin [Thu, 18 Jun 2009 18:10:05 +0000 (18:10 +0000)] 
set use-underline button property when setting its label

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

15 years agoFurther attempts to implement Clear() for the GTK control
Robert Roebling [Thu, 18 Jun 2009 17:42:06 +0000 (17:42 +0000)] 
Further attempts to implement Clear() for the GTK control

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

15 years agowxHtmlWindow background drawing fixes for OS X and optimizations
Vadim Zeitlin [Thu, 18 Jun 2009 17:32:20 +0000 (17:32 +0000)] 
wxHtmlWindow background drawing fixes for OS X and optimizations

1. Avoid crashes under OS X due to attempts to copy window contents to the
   backing store bitmap: this doesn't work under OS X so avoid it by always
   painting the background from OnPaint() itself, while still generating the
   erase background events for compatibility.

2. Don't double buffer wxHtmlWindow drawing if the window is already double
   buffered.

3. Don't allocate backing store bitmap on the heap, this is useless as bitmaps
   are already pointer-lile -- so just use invalid bitmap instead of NULL
   bitmap pointer.

4. Update the html/test sample to show the effects of custom erase background
   handler in wxHtmlWindow (it overrides the background bitmap painting).

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

15 years agodon't draw borders for bitmap buttons with wxBORDER_NONE style
Vadim Zeitlin [Thu, 18 Jun 2009 17:13:51 +0000 (17:13 +0000)] 
don't draw borders for bitmap buttons with wxBORDER_NONE style

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

15 years agoPatch wxGTK1 for recent changes in bmpbuttn
Jouk Jansen [Thu, 18 Jun 2009 15:37:33 +0000 (15:37 +0000)] 
Patch wxGTK1 for recent changes in bmpbuttn

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

15 years agoimplement propert background style semantics for OS X
Vadim Zeitlin [Thu, 18 Jun 2009 15:33:51 +0000 (15:33 +0000)] 
implement propert background style semantics for OS X

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

15 years agouse wxOSX_USE_COCOA instead of __WXOSX_COCOA__ (which was checked incorrectly)
Vadim Zeitlin [Thu, 18 Jun 2009 15:28:02 +0000 (15:28 +0000)] 
use wxOSX_USE_COCOA instead of __WXOSX_COCOA__ (which was checked incorrectly)

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

15 years agoUpdate setup for OpenVMS
Jouk Jansen [Thu, 18 Jun 2009 15:25:55 +0000 (15:25 +0000)] 
Update setup for OpenVMS

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

15 years agoUse UTF16 for text data object on Mac. Fixes #10902
Robin Dunn [Thu, 18 Jun 2009 06:18:50 +0000 (06:18 +0000)] 
Use UTF16 for text data object on Mac.  Fixes #10902

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

15 years agomake wxCollapsiblePane blend into its parent background by using the same background...
Vadim Zeitlin [Wed, 17 Jun 2009 23:34:46 +0000 (23:34 +0000)] 
make wxCollapsiblePane blend into its parent background by using the same background colour as it does

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

15 years agocorrect wrong assert checking for default button flags consistency (closes #10906)
Vadim Zeitlin [Wed, 17 Jun 2009 23:16:22 +0000 (23:16 +0000)] 
correct wrong assert checking for default button flags consistency (closes #10906)

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

15 years agodon't define wxHAS_BUTTON_BITMAP for wxUniv (closes #10907)
Vadim Zeitlin [Wed, 17 Jun 2009 23:08:45 +0000 (23:08 +0000)] 
don't define wxHAS_BUTTON_BITMAP for wxUniv (closes #10907)

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

15 years agosuppress harmless gcc warning about not handling all enum values in a switch
Vadim Zeitlin [Wed, 17 Jun 2009 22:14:47 +0000 (22:14 +0000)] 
suppress harmless gcc warning about not handling all enum values in a switch

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

15 years agoadded wxBU_NOTEXT style to allow creating bitmap buttons with stock id not showing...
Vadim Zeitlin [Wed, 17 Jun 2009 22:13:46 +0000 (22:13 +0000)] 
added wxBU_NOTEXT style to allow creating bitmap buttons with stock id not showing the label, as it was possible before

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

15 years agowxFont::MakeXXX() and Scale() methods now modify the font in place; XXX() and Scaled...
Vadim Zeitlin [Wed, 17 Jun 2009 21:27:37 +0000 (21:27 +0000)] 
wxFont::MakeXXX() and Scale() methods now modify the font in place; XXX() and Scaled() create new font

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

15 years agowxRichTextCtrl native caret now flashes, for wxMac/Core Graphics mode
Julian Smart [Wed, 17 Jun 2009 21:10:04 +0000 (21:10 +0000)] 
wxRichTextCtrl native caret now flashes, for wxMac/Core Graphics mode

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

15 years agoSetup.h wrapper was missing propgrid section (fixes #10909)
Jaakko Salli [Wed, 17 Jun 2009 20:38:20 +0000 (20:38 +0000)] 
Setup.h wrapper was missing propgrid section (fixes #10909)

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

15 years agofn.Mkdir now gives an ICE on VC6 now that it is const.
Michael Wetherell [Wed, 17 Jun 2009 17:31:53 +0000 (17:31 +0000)] 
fn.Mkdir now gives an ICE on VC6 now that it is const.

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

15 years agoAvoid accidental enabling of disabled windows by checking for disabled parent
Julian Smart [Wed, 17 Jun 2009 16:32:22 +0000 (16:32 +0000)] 
Avoid accidental enabling of disabled windows by checking for disabled parent

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

15 years agoUpdate OpenVMS compile support
Jouk Jansen [Wed, 17 Jun 2009 12:20:04 +0000 (12:20 +0000)] 
Update OpenVMS compile support

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

15 years agoUpdate OpenVMS compile support
Jouk Jansen [Wed, 17 Jun 2009 12:12:19 +0000 (12:12 +0000)] 
Update OpenVMS compile support

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

15 years agoimplement new wxBG_STYLE_XXX semantics for wxMSW too
Vadim Zeitlin [Wed, 17 Jun 2009 04:36:28 +0000 (04:36 +0000)] 
implement new wxBG_STYLE_XXX semantics for wxMSW too

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

15 years agowxVariantData now inherits from wxObjectRefData
Jaakko Salli [Wed, 17 Jun 2009 01:32:40 +0000 (01:32 +0000)] 
wxVariantData now inherits from wxObjectRefData

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

15 years agointroduce wxBG_STYLE_{ERASE,PAINT} and implement their documented semantics in wxGTK
Vadim Zeitlin [Tue, 16 Jun 2009 23:04:42 +0000 (23:04 +0000)] 
introduce wxBG_STYLE_{ERASE,PAINT} and implement their documented semantics in wxGTK

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

15 years agofix compilation without wxUSE_STREAMS (closes #10900)
Vadim Zeitlin [Tue, 16 Jun 2009 21:57:23 +0000 (21:57 +0000)] 
fix compilation without wxUSE_STREAMS (closes #10900)

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

15 years agoremove more occurrences of MSVC #pragma warning(default) (closes #10885)
Vadim Zeitlin [Tue, 16 Jun 2009 21:50:23 +0000 (21:50 +0000)] 
remove more occurrences of MSVC #pragma warning(default) (closes #10885)

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

15 years agoimplement wxGTK wxBitmapButton in terms of wxButton
Vadim Zeitlin [Tue, 16 Jun 2009 19:31:50 +0000 (19:31 +0000)] 
implement wxGTK wxBitmapButton in terms of wxButton

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

15 years agoimplement support for bitmaps for all states in wxGTK wxButton
Vadim Zeitlin [Tue, 16 Jun 2009 19:08:59 +0000 (19:08 +0000)] 
implement support for bitmaps for all states in wxGTK wxButton

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

15 years agoadded helper GTKShouldIgnoreEvent() to use in void GTK event handlers
Vadim Zeitlin [Tue, 16 Jun 2009 19:08:24 +0000 (19:08 +0000)] 
added helper GTKShouldIgnoreEvent() to use in void GTK event handlers

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

15 years agoMany more corrections and clarifications to virtual index list model use
Robert Roebling [Tue, 16 Jun 2009 17:59:09 +0000 (17:59 +0000)] 
Many more corrections and clarifications to virtual index list model use

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

15 years agouse the directory of the most recently opened file in wxDocManager if we have any
Vadim Zeitlin [Tue, 16 Jun 2009 17:40:11 +0000 (17:40 +0000)] 
use the directory of the most recently opened file in wxDocManager if we have any

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