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