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

15 years agofix typo in compatibility SetBitmapLabel() declaration
Vadim Zeitlin [Tue, 16 Jun 2009 15:59:42 +0000 (15:59 +0000)] 
fix typo in compatibility SetBitmapLabel() declaration

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

15 years agoimplement support for button bitmaps (normal state only for now) for wxGTK
Vadim Zeitlin [Tue, 16 Jun 2009 05:16:31 +0000 (05:16 +0000)] 
implement support for button bitmaps (normal state only for now) for wxGTK

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

15 years agofix PCH-less build after changing timer id type to WPARAM (closes #10901)
Vadim Zeitlin [Tue, 16 Jun 2009 05:05:20 +0000 (05:05 +0000)] 
fix PCH-less build after changing timer id type to WPARAM (closes #10901)

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

15 years agoFixed printf-related warnings
Jaakko Salli [Mon, 15 Jun 2009 23:27:04 +0000 (23:27 +0000)] 
Fixed printf-related warnings

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

15 years agominor tweaks to alignment styles documentation
Vadim Zeitlin [Mon, 15 Jun 2009 23:18:06 +0000 (23:18 +0000)] 
minor tweaks to alignment styles documentation

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

15 years agoimplement wxBitmapButton as just a wrapper for wxButton under MSW
Vadim Zeitlin [Mon, 15 Jun 2009 23:10:16 +0000 (23:10 +0000)] 
implement wxBitmapButton as just a wrapper for wxButton under MSW

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

15 years agoAdded support for wxLongLong and wxULongLong in wxVariant (closes #10166)
Jaakko Salli [Mon, 15 Jun 2009 22:43:27 +0000 (22:43 +0000)] 
Added support for wxLongLong and wxULongLong in wxVariant (closes #10166)

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

15 years agoadded missing int
Vadim Zeitlin [Mon, 15 Jun 2009 22:36:57 +0000 (22:36 +0000)] 
added missing int

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

15 years agomoving to a 10.4 compatible implementation
Stefan Csomor [Mon, 15 Jun 2009 21:31:24 +0000 (21:31 +0000)] 
moving to a 10.4 compatible implementation

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

15 years agoimplement support for per-state bitmaps in wxMSW wxButton
Vadim Zeitlin [Mon, 15 Jun 2009 20:18:10 +0000 (20:18 +0000)] 
implement support for per-state bitmaps in wxMSW wxButton

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

15 years agoCorrect wxDataViewListModel::RowPrepended
Robert Roebling [Mon, 15 Jun 2009 19:36:59 +0000 (19:36 +0000)] 
Correct wxDataViewListModel::RowPrepended

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

15 years agoadd support for bitmap and bitmapposition tags to the wxButton XRC handler
Vadim Zeitlin [Mon, 15 Jun 2009 19:35:19 +0000 (19:35 +0000)] 
add support for bitmap and bitmapposition tags to the wxButton XRC handler

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

15 years agoCorrect wxDataViewCtrl::IsExpanded
Robert Roebling [Mon, 15 Jun 2009 19:30:09 +0000 (19:30 +0000)] 
Correct wxDataViewCtrl::IsExpanded

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

15 years agoimplement button support for pre-XP systems (or with themes disabled); using only...
Vadim Zeitlin [Mon, 15 Jun 2009 19:21:49 +0000 (19:21 +0000)] 
implement button support for pre-XP systems (or with themes disabled); using only the normal bitmap so far

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

15 years agoFix sending wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_CLICK, fixes #10894: Missing OSX...
Robert Roebling [Mon, 15 Jun 2009 18:35:24 +0000 (18:35 +0000)] 
Fix sending wxEVT_COMMAND_DATAVIEW_COLUMN_HEADER_CLICK, fixes #10894: Missing OSX-Carbon DataView control header click events

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

15 years agono real changes, just use AutoHXXX classes instead of manually creating/deleting...
Vadim Zeitlin [Mon, 15 Jun 2009 17:53:58 +0000 (17:53 +0000)] 
no real changes, just use AutoHXXX classes instead of manually creating/deleting objects in owner drawing code

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

15 years agono real changes, just extract private classes from msw/dc.cpp into a private header...
Vadim Zeitlin [Mon, 15 Jun 2009 17:49:27 +0000 (17:49 +0000)] 
no real changes, just extract private classes from msw/dc.cpp into a private header so that they could be reused from button owner drawing code too

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

15 years agofix Doxygen syntax error which prevented output for this page from being generated...
Vadim Zeitlin [Mon, 15 Jun 2009 17:28:58 +0000 (17:28 +0000)] 
fix Doxygen syntax error which prevented output for this page from being generated at all

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

15 years agouse WPARAM (which is 64 bit under Win64) for timer ids instead of long (which is...
Vadim Zeitlin [Mon, 15 Jun 2009 17:14:50 +0000 (17:14 +0000)] 
use WPARAM (which is 64 bit under Win64) for timer ids instead of long (which is still 32 bit) (see #10896)

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

15 years agoimplement images support for wxButton under XP and later
Vadim Zeitlin [Mon, 15 Jun 2009 04:23:54 +0000 (04:23 +0000)] 
implement images support for wxButton under XP and later

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

15 years agoinclude wx/bitmap.h which is required by wxButton now
Vadim Zeitlin [Mon, 15 Jun 2009 03:36:16 +0000 (03:36 +0000)] 
include wx/bitmap.h which is required by wxButton now

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

15 years agoadded missing parentheses in a couple of GetHxxxOf() macros
Vadim Zeitlin [Mon, 15 Jun 2009 03:35:30 +0000 (03:35 +0000)] 
added missing parentheses in a couple of GetHxxxOf() macros

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

15 years agopreparation work for implementing images support in wxButton: move wxBitmapButton...
Vadim Zeitlin [Sun, 14 Jun 2009 22:55:24 +0000 (22:55 +0000)] 
preparation work for implementing images support in wxButton: move wxBitmapButton methods to the base class (enhancing/completing them in the process); there are no functionality changes yet (hopefully)

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

15 years agoUpdated info on wxRefCounter and related classes
Robert Roebling [Sun, 14 Jun 2009 14:45:20 +0000 (14:45 +0000)] 
Updated info on wxRefCounter and related classes

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

15 years agoMake wxDataViewModel derive from wxRefCounter
Robert Roebling [Sun, 14 Jun 2009 14:11:07 +0000 (14:11 +0000)] 
Make wxDataViewModel derive from wxRefCounter

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

15 years agodon't leave the document in modified state after loading it (closes #10081)
Vadim Zeitlin [Sat, 13 Jun 2009 19:42:28 +0000 (19:42 +0000)] 
don't leave the document in modified state after loading it (closes #10081)

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

15 years agoConverted wxVariant to use wxObject's reference counting facilities. Should make...
Jaakko Salli [Sat, 13 Jun 2009 14:55:45 +0000 (14:55 +0000)] 
Converted wxVariant to use wxObject's reference counting facilities. Should make sense as wxVariant already derived from wxObject and now wxVariantData inherits wxRefCounter/wxObjectRefData.

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

15 years agoadded own{fg,bg,font} allowing to set non-inheritable fore/background colours and...
Vadim Zeitlin [Sat, 13 Jun 2009 02:48:38 +0000 (02:48 +0000)] 
added own{fg,bg,font} allowing to set non-inheritable fore/background colours and font from XRC

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

15 years agofix compilation after wxRefCounter changes
Vadim Zeitlin [Sat, 13 Jun 2009 00:33:07 +0000 (00:33 +0000)] 
fix compilation after wxRefCounter changes

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

15 years agoUpdate docs to mention wxRefCounter class
Robert Roebling [Fri, 12 Jun 2009 20:29:59 +0000 (20:29 +0000)] 
Update docs to mention wxRefCounter class

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

15 years agoUse wxRefCounter instead of wxObjecrDataRef
Robert Roebling [Fri, 12 Jun 2009 20:18:17 +0000 (20:18 +0000)] 
Use wxRefCounter instead of wxObjecrDataRef

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

15 years agoRename wxObjectDataRef wxRefCounter, use it in wxVariant
Robert Roebling [Fri, 12 Jun 2009 20:16:07 +0000 (20:16 +0000)] 
Rename wxObjectDataRef wxRefCounter, use it in wxVariant

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

15 years agoadded convenient wxFont::Make{Bold,Italic,Smaller,Larger} and Scale() methods
Vadim Zeitlin [Fri, 12 Jun 2009 20:11:21 +0000 (20:11 +0000)] 
added convenient wxFont::Make{Bold,Italic,Smaller,Larger} and Scale() methods

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

15 years agocompilation fix after wxLoadFileSelector() changes
Vadim Zeitlin [Fri, 12 Jun 2009 19:37:40 +0000 (19:37 +0000)] 
compilation fix after wxLoadFileSelector() changes

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

15 years agoremove unnecessary refCount=1 parameter from wxObjectRefData ctor
Vadim Zeitlin [Fri, 12 Jun 2009 19:36:58 +0000 (19:36 +0000)] 
remove unnecessary refCount=1 parameter from wxObjectRefData ctor

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

15 years agowxPGCellRenderer ctor doesn't really need refCount argument
Jaakko Salli [Fri, 12 Jun 2009 19:03:41 +0000 (19:03 +0000)] 
wxPGCellRenderer ctor doesn't really need refCount argument

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

15 years agofix memory leak in SetColFormat() if the column already had an attribute (closes...
Vadim Zeitlin [Fri, 12 Jun 2009 18:24:37 +0000 (18:24 +0000)] 
fix memory leak in SetColFormat() if the column already had an attribute (closes #1807)

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

15 years agoonly allow selecting existing files in wxLoadFileSelector; use this function instead...
Vadim Zeitlin [Fri, 12 Jun 2009 18:02:57 +0000 (18:02 +0000)] 
only allow selecting existing files in wxLoadFileSelector; use this function instead of wxFileSelector in the samples (closes #10693)

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

15 years agoadded XRC handler for wxFileCtrl (closes #10785)
Vadim Zeitlin [Fri, 12 Jun 2009 17:40:11 +0000 (17:40 +0000)] 
added XRC handler for wxFileCtrl (closes #10785)

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

15 years agoadded new wx-config --query-xxx options and use them in (Unix) bakefile presets inste...
Vadim Zeitlin [Fri, 12 Jun 2009 17:26:11 +0000 (17:26 +0000)] 
added new wx-config --query-xxx options and use them in (Unix) bakefile presets instead of parsing --selected-config output to fix the use of presets when cross-compiling

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

15 years agoreuse wxObjectRefData for various ref-counted classes (closes #10886)
Vadim Zeitlin [Fri, 12 Jun 2009 17:14:28 +0000 (17:14 +0000)] 
reuse wxObjectRefData for various ref-counted classes (closes #10886)

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

15 years agoRemove remaining bits of marker drawing during resizing
Robert Roebling [Fri, 12 Jun 2009 16:15:35 +0000 (16:15 +0000)] 
Remove remaining bits of marker drawing during resizing

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

15 years agoclatify alpha discussion (closes #10888)
Vadim Zeitlin [Fri, 12 Jun 2009 15:35:17 +0000 (15:35 +0000)] 
clatify alpha discussion (closes #10888)

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

15 years agomake more wxFileName methods const (closes #10887)
Vadim Zeitlin [Fri, 12 Jun 2009 15:28:45 +0000 (15:28 +0000)] 
make more wxFileName methods const (closes #10887)

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

15 years agoAdded missing virtual dtor for wxPGMultiButton
Jaakko Salli [Fri, 12 Jun 2009 14:01:25 +0000 (14:01 +0000)] 
Added missing virtual dtor for wxPGMultiButton

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

15 years agoFor needs of wxPython bindings, (re)added a version of RegisterEditorClass() that...
Jaakko Salli [Fri, 12 Jun 2009 13:49:59 +0000 (13:49 +0000)] 
For needs of wxPython bindings, (re)added a version of RegisterEditorClass() that accepts a custom name for editor.

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

15 years agodisable MSVC warning 4275 correctly (closes #10885)
Vadim Zeitlin [Fri, 12 Jun 2009 03:37:47 +0000 (03:37 +0000)] 
disable MSVC warning 4275 correctly (closes #10885)

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

15 years agoForward port r56500.
Michael Wetherell [Fri, 12 Jun 2009 00:17:37 +0000 (00:17 +0000)] 
Forward port r56500.

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

15 years agorespecting more of the toolbar positions (tb_right not yet working), and fixing SetSi...
Stefan Csomor [Thu, 11 Jun 2009 23:07:05 +0000 (23:07 +0000)] 
respecting more of the toolbar positions (tb_right not yet working), and fixing SetSize in Realize, closes #10852

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

15 years agoallow customizing wxStandardPaths logic for the program directory determination
Vadim Zeitlin [Thu, 11 Jun 2009 16:46:19 +0000 (16:46 +0000)] 
allow customizing wxStandardPaths logic for the program directory determination

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

15 years agomake wxFileName::{Mk,Rm}dir() const (closes #10868)
Vadim Zeitlin [Thu, 11 Jun 2009 16:11:07 +0000 (16:11 +0000)] 
make wxFileName::{Mk,Rm}dir() const (closes #10868)

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

15 years agoMac appearance fixes: only use a border for wxDisclosureTriangle if wxCollapsiblePane...
Vadim Zeitlin [Thu, 11 Jun 2009 16:02:16 +0000 (16:02 +0000)] 
Mac appearance fixes: only use a border for wxDisclosureTriangle if wxCollapsiblePane itself has a border; don't set hardcoded background colour

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