Commit Graph

48944 Commits

Author SHA1 Message Date
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
Vadim Zeitlin
233f10bf15 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
2009-06-15 04:23:54 +00:00
Vadim Zeitlin
81cb7b5a98 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
2009-06-15 03:36:16 +00:00
Vadim Zeitlin
28ac82bf04 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
2009-06-15 03:35:30 +00:00
Vadim Zeitlin
2352862a7e 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
2009-06-14 22:55:24 +00:00
Robert Roebling
0455894395 Updated info on wxRefCounter and related classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-14 14:45:20 +00:00
Robert Roebling
e4e83d3ad6 Make wxDataViewModel derive from wxRefCounter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-14 14:11:07 +00:00
Vadim Zeitlin
6d3a082465 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
2009-06-13 19:42:28 +00:00
Jaakko Salli
cf25a599cd 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
2009-06-13 14:55:45 +00:00
Vadim Zeitlin
a7435c3ec4 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
2009-06-13 02:48:38 +00:00
Vadim Zeitlin
deff6d72e5 fix compilation after wxRefCounter changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-13 00:33:07 +00:00
Robert Roebling
0e497a9db6 Update docs to mention wxRefCounter class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 20:29:59 +00:00
Robert Roebling
b42d5f7556 Use wxRefCounter instead of wxObjecrDataRef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 20:18:17 +00:00
Robert Roebling
6d37c1b773 Rename wxObjectDataRef wxRefCounter, use it in wxVariant
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 20:16:07 +00:00
Vadim Zeitlin
f76c075805 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
2009-06-12 20:11:21 +00:00
Vadim Zeitlin
6541fd4b27 compilation fix after wxLoadFileSelector() changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 19:37:40 +00:00
Vadim Zeitlin
c797aec4b9 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
2009-06-12 19:36:58 +00:00
Jaakko Salli
bd035313c1 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
2009-06-12 19:03:41 +00:00
Vadim Zeitlin
4a53f7010a 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
2009-06-12 18:24:37 +00:00
Vadim Zeitlin
f2a18fbec6 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
2009-06-12 18:02:57 +00:00
Vadim Zeitlin
0d14e4f21d added XRC handler for wxFileCtrl (closes #10785)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 17:40:11 +00:00
Vadim Zeitlin
e5405b6b21 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
2009-06-12 17:26:11 +00:00
Vadim Zeitlin
92ffc98a08 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
2009-06-12 17:14:28 +00:00
Robert Roebling
58e914f015 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
2009-06-12 16:15:35 +00:00
Vadim Zeitlin
0241477aee clatify alpha discussion (closes #10888)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 15:35:17 +00:00
Vadim Zeitlin
d9e80dce15 make more wxFileName methods const (closes #10887)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 15:28:45 +00:00
Jaakko Salli
517add0d35 Added missing virtual dtor for wxPGMultiButton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 14:01:25 +00:00
Jaakko Salli
b7d1985040 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
2009-06-12 13:49:59 +00:00
Vadim Zeitlin
fb330c2ec3 disable MSVC warning 4275 correctly (closes #10885)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 03:37:47 +00:00
Michael Wetherell
527983315d Forward port r56500.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 00:17:37 +00:00
Stefan Csomor
f0ceebb7e0 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
2009-06-11 23:07:05 +00:00
Vadim Zeitlin
4cd15b49b4 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
2009-06-11 16:46:19 +00:00
Vadim Zeitlin
89391a4ea1 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
2009-06-11 16:11:07 +00:00
Vadim Zeitlin
588ca87143 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
2009-06-11 16:02:16 +00:00
Vadim Zeitlin
4644cfba41 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
2009-06-11 16:00:01 +00:00
Vadim Zeitlin
522c340481 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
2009-06-11 15:57:29 +00:00
Robert Roebling
e946566e73 Remove ugly flicker during resizing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-11 15:37:53 +00:00