]>
git.saurik.com Git - wxWidgets.git/log
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Vadim Zeitlin [Thu, 11 Jun 2009 16:00:01 +0000 (16:00 +0000)]
account for the label size in wxDisclosureTriangle under Carbon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61000
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 11 Jun 2009 15:57:29 +0000 (15:57 +0000)]
GetTextExtent() is not virtual any more (since r60984)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60999
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Thu, 11 Jun 2009 15:37:53 +0000 (15:37 +0000)]
Remove ugly flicker during resizing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60998
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Thu, 11 Jun 2009 15:21:18 +0000 (15:21 +0000)]
GTK: In virtual list mode, map first row to 1, not to 0 as this is reserved for an invalid item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60997
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Thu, 11 Jun 2009 15:10:52 +0000 (15:10 +0000)]
In virtual list mode, map first row to 1, not to 0 as this is reserved for an invalid item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60996
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Thu, 11 Jun 2009 06:54:37 +0000 (06:54 +0000)]
adding missing release for editor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60994
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Thu, 11 Jun 2009 06:40:24 +0000 (06:40 +0000)]
adding events to single line textcontrols (password is not fully supported)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60993
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Wed, 10 Jun 2009 20:51:25 +0000 (20:51 +0000)]
Added note about 'Py' prefix no longer being necessary when reimplementing property member functions in wxPython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60991
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Wed, 10 Jun 2009 20:36:56 +0000 (20:36 +0000)]
Allow reparenting wxPropertyGrid(Manager) to work; Show error and suggest calling wxPropertyGrid::OnTLPChanging() if top-level parent changed indirectly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60989
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 10 Jun 2009 16:41:41 +0000 (16:41 +0000)]
add virtual DoGetTextExtent() to allow calling the overloaded wxWindowBase::GetTextExtent() on wxWindow objects without any ugly casts/scope resolution operators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60984
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 10 Jun 2009 15:07:03 +0000 (15:07 +0000)]
don't disable the use of standard streams/strings by default under OS XE there is no reason to do it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60981
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 10 Jun 2009 15:05:07 +0000 (15:05 +0000)]
removed the inexistent (at least in 10.4 SDK) and unneeded carbon/carbon.h header inclusion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60980
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775