Vadim Zeitlin
5366ff46b8
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
2009-06-18 18:10:05 +00:00
Robert Roebling
8a56837211
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
2009-06-18 17:42:06 +00:00
Vadim Zeitlin
03a187ccae
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
2009-06-18 17:32:20 +00:00
Vadim Zeitlin
86ac84b8ce
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
2009-06-18 17:13:51 +00:00
Jouk Jansen
b5a5362e55
Patch wxGTK1 for recent changes in bmpbuttn
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-18 15:37:33 +00:00
Vadim Zeitlin
69ce9cea39
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
2009-06-18 15:33:51 +00:00
Vadim Zeitlin
443c594a75
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
2009-06-18 15:28:02 +00:00
Jouk Jansen
840a5948c7
Update setup for OpenVMS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-18 15:25:55 +00:00
Robin Dunn
a25a17732c
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
2009-06-18 06:18:50 +00:00
Vadim Zeitlin
5c23470650
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
2009-06-17 23:34:46 +00:00
Vadim Zeitlin
3c9a70ddd4
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
2009-06-17 23:16:22 +00:00
Vadim Zeitlin
41550985f2
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
2009-06-17 23:08:45 +00:00
Vadim Zeitlin
4d51143c5e
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
2009-06-17 22:14:47 +00:00
Vadim Zeitlin
a21175918e
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
2009-06-17 22:13:46 +00:00
Vadim Zeitlin
6e7d2550ce
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
2009-06-17 21:27:37 +00:00
Julian Smart
a188ac2988
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
2009-06-17 21:10:04 +00:00
Jaakko Salli
209bf72273
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
2009-06-17 20:38:20 +00:00
Michael Wetherell
9f7191dbb9
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
2009-06-17 17:31:53 +00:00
Julian Smart
77a246e118
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
2009-06-17 16:32:22 +00:00
Jouk Jansen
cdd76cf19d
Update OpenVMS compile support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-17 12:20:04 +00:00
Jouk Jansen
bd5cbfab7b
Update OpenVMS compile support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-17 12:12:19 +00:00
Vadim Zeitlin
c753eb9269
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
2009-06-17 04:36:28 +00:00
Jaakko Salli
43087da71b
wxVariantData now inherits from wxObjectRefData
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-17 01:32:40 +00:00
Vadim Zeitlin
9c61c5b04b
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
2009-06-16 23:04:42 +00:00
Vadim Zeitlin
b85b06e13d
fix compilation without wxUSE_STREAMS ( closes #10900 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-16 21:57:23 +00:00
Vadim Zeitlin
5dd0965333
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
2009-06-16 21:50:23 +00:00
Vadim Zeitlin
c37dd6dad7
implement wxGTK wxBitmapButton in terms of wxButton
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-16 19:31:50 +00:00
Vadim Zeitlin
b4a4eafbcc
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
2009-06-16 19:08:59 +00:00
Vadim Zeitlin
02bad8305c
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
2009-06-16 19:08:24 +00:00
Robert Roebling
9330d5afb6
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
2009-06-16 17:59:09 +00:00
Vadim Zeitlin
bba6891c84
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
2009-06-16 17:40:11 +00:00
Vadim Zeitlin
eebe696ec9
fix typo in compatibility SetBitmapLabel() declaration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-16 15:59:42 +00:00
Vadim Zeitlin
7be740a3fd
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
2009-06-16 05:16:31 +00:00
Vadim Zeitlin
23d8a71f51
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
2009-06-16 05:05:20 +00:00
Jaakko Salli
f81bd28859
Fixed printf-related warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-15 23:27:04 +00:00
Vadim Zeitlin
0f5fe33282
minor tweaks to alignment styles documentation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-15 23:18:06 +00:00
Vadim Zeitlin
a6fd73d33a
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
2009-06-15 23:10:16 +00:00
Jaakko Salli
4e00b90802
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
2009-06-15 22:43:27 +00:00
Vadim Zeitlin
958e4b4b75
added missing int
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-15 22:36:57 +00:00
Stefan Csomor
da52d42b9d
moving to a 10.4 compatible implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-15 21:31:24 +00:00
Vadim Zeitlin
d5b98eb928
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
2009-06-15 20:18:10 +00:00
Robert Roebling
b879becf6a
Correct wxDataViewListModel::RowPrepended
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-15 19:36:59 +00:00
Vadim Zeitlin
18b9d1a13c
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
2009-06-15 19:35:19 +00:00
Robert Roebling
850e47aa3c
Correct wxDataViewCtrl::IsExpanded
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-15 19:30:09 +00:00
Vadim Zeitlin
8f4745feeb
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
2009-06-15 19:21:49 +00:00
Robert Roebling
8ba01d3546
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
2009-06-15 18:35:24 +00:00
Vadim Zeitlin
9c956c0a59
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
2009-06-15 17:53:58 +00:00
Vadim Zeitlin
d8c89c487d
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
2009-06-15 17:49:27 +00:00
Vadim Zeitlin
0654158b18
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
2009-06-15 17:28:58 +00:00
Vadim Zeitlin
491acfc75e
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
2009-06-15 17:14:50 +00:00