Vadim Zeitlin
8e4c291246
always use wxBU_NOTEXT and wxBU_EXACTFIT for wxBitmapButton under all platforms (which required some refactoring) (hopefully really closes #10927 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-28 16:14:37 +00:00
Vadim Zeitlin
79e38eaf2a
set the initial size of bitmap buttons correctly again after it was broken by r61081 ( closes #10927 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-27 22:22:48 +00:00
Vadim Zeitlin
886180cdbf
suppress warning about implicit conversion of literal string XmSTRING_DEFAULT_CHARSET to non-const char *
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-24 14:49:09 +00:00
Vadim Zeitlin
bb2212e6c4
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
2009-06-23 10:21:18 +00:00
Vadim Zeitlin
12a124ddc9
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
2009-06-23 08:56:32 +00:00
Vadim Zeitlin
743b426605
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
2009-06-22 20:36:13 +00:00
Jaakko Salli
6edd8829ef
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
2009-06-22 17:02:53 +00:00
Jouk Jansen
ca3b3fbb11
fix for wxGTK1 & bmpbuttn
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-21 13:02:52 +00:00
Vadim Zeitlin
e5d05b907c
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
2009-06-21 03:01:53 +00:00
Kevin Ollivier
2fc9c1ea77
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
2009-06-20 23:33:55 +00:00
Vadim Zeitlin
8f2a8de6e7
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
2009-06-20 00:21:53 +00:00
Vadim Zeitlin
3c01c59511
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
2009-06-19 23:48:50 +00:00
Vadim Zeitlin
48889bca6f
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
2009-06-19 23:46:21 +00:00
Vadim Zeitlin
febebac1a0
added wxTreeCtrl::GetFocusedItem() ( closes #10859 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-19 23:34:51 +00:00
Vadim Zeitlin
85284ca4b2
respect wxBU_NOTEXT style in wxButton
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-19 23:24:51 +00:00
Vadim Zeitlin
09219654cd
override DoSetBitmap() instead of SetBitmapLabel()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-19 04:47:59 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Stefan Csomor
7cb2a24183
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
2009-06-11 06:40:24 +00:00
Jaakko Salli
27c1f235ba
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
2009-06-10 20:36:56 +00:00
Vadim Zeitlin
6de7047076
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
2009-06-10 16:41:41 +00:00
Vadim Zeitlin
806a83167b
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
2009-06-10 15:05:07 +00:00
Vadim Zeitlin
ed70364591
add missing DLL export declaration to fix linking in shared library build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-10 14:43:38 +00:00
Vadim Zeitlin
0049c31e8d
derive wxStandardPathsCF from Unix wxStandardPaths implementation to make it possible to return it from wxGUIAppTraits::GetStandardPaths()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-07 12:56:43 +00:00
Vadim Zeitlin
adcc13ac81
disable MSVC warning 4275 which is harmless and can't be avoided anyhow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-07 12:27:07 +00:00
Jaakko Salli
b8b1ff481c
Implementations of wxPGProperty::ChildChanged() must now return changed value of the whole property instead of writing it back to 'thisValue' argument. This change was done primarily for better compatibility with wxPython bindings, but should also be slightly more cleaner behavior API-wise. Breaks backwards compatibility, but not silently.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-07 07:52:53 +00:00
Vadim Zeitlin
25f49256ac
return wxStandardPaths, not wxStandardPathsBase, from wxStandardPathsBase::Get() to allow calling platform-specific methods on it if necessary
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 23:34:05 +00:00
Vadim Zeitlin
5470512797
disable warning about _set_se_translator() requiring /EHa for VC9 too (it was disabled for up to VC8)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 23:27:37 +00:00
Vadim Zeitlin
7faab5c528
define _SCL_SECURE_NO_WARNINGS to avoid warnings about unsafe standard library functions (such as xsgetn() used in wx/stdstream.h) from VC8+
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 23:10:19 +00:00
Vadim Zeitlin
895cae46b7
work around (harmless) warnings in VC7 release build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 23:04:50 +00:00
Jaakko Salli
ac1013c060
Added wxPGProperty::Set/GetValuePlain() for direct m_value member access needed by wxPython bindings .m_value property
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 15:28:40 +00:00
Jaakko Salli
45e82d4ceb
Added better asserts, helps with debugging strange wxVariant issues
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 15:27:55 +00:00
Vadim Zeitlin
80f624ec0c
added multiple selections support to wxDirCtrl ( closes #10830 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 14:00:51 +00:00
Vadim Zeitlin
b2d76621c2
export wxStatusBarPaneArray from the DLL to fix Borland multilib build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 12:01:46 +00:00
Vadim Zeitlin
0503f19ca8
compilation fixes for g++ 3.2 ( closes #10875 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-05 08:54:48 +00:00
Vadim Zeitlin
adcda299c0
added wxEditbaleListBox XRC handler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-04 23:41:51 +00:00
Vadim Zeitlin
a96827606e
postpone the call to CopyAttributes() until the DC is fully initialized ( closes #10867 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-04 08:55:44 +00:00
Vadim Zeitlin
3998c74b9b
use wxRA_SPECIFY_COLS/ROWS instead of old, deprecated and confusing wxRA_HORIZONTAL/VERTICAL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-03 22:33:32 +00:00
Vadim Zeitlin
e77669fcee
don't fix the columns number to 1 by default in ctors ( closes #10863 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-03 22:28:26 +00:00
Jaakko Salli
9ab4a43845
Make this header SWIG-safe
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-02 14:16:20 +00:00
Vadim Zeitlin
febd3dcaf8
added wxUINTn_MAX constants; document them together with the existing wxINTn_MIN/MAX ones
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-02 13:43:32 +00:00
Francesco Montorsi
23790a2a29
add wxGetLinuxDistributionInfo() and wxPlatformInfo::GetLinuxDistribution() functions; also add to wxPlatformInfo the GetOperatingSystemDescription(), GetDesktopEnvironment(), GetOperatingSystemDirectory() functions to group in the same class (wxPlatformInfo) all available platform-detection functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-02 13:01:41 +00:00
Francesco Montorsi
ed1288eef0
add wxProgressDialog::SetRange() function
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-01 23:19:25 +00:00
Francesco Montorsi
d1279c9a3d
no change: fix a couple typos
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-01 23:05:37 +00:00
Robert Roebling
e6bfb8a131
non-PCH compilo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-01 15:26:24 +00:00
Robert Roebling
715c9810a1
Compilo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-01 15:15:27 +00:00
Robert Roebling
0a807957e6
Closes #10495 : wxDataViewCtrl needs a way to start the label editor programmatically, also Windows port now emits vetoable ..._EDITING_STARTED event
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-01 13:57:38 +00:00
Francesco Montorsi
a9a2485d64
fix loading ICO from socket stream: override OnSysTell and OnSysSeek rather than directly SeekO/I or TellO/I; in wxICOHandler only call SeekI() if we have a non-null seek offset
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-01 13:56:41 +00:00
Francesco Montorsi
53c2cdb0b1
fix PCH-less build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-01 12:40:50 +00:00
Francesco Montorsi
8faef7ccbc
document that CanRead() and GetImageCount() functions of wxImageHandlers do NOT modify the current stream position and that they require seekable streams; rename current GetImageCount() functions to DoGetImageCount() and put save-and-restore stream position logic in GetImageCount(); add comments in the various DoCanRead() and in DoGetImageCount() where the stream position is modified; remove unneeded SeekI(0) calls from DoCanRead() and DoGetImageCount() functions: they didn't allow to load images from non-seekable streams; implement forward-seeking in wxInputStream::SeekI() also for non-seekable streams
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-01 11:43:36 +00:00
Vadim Zeitlin
255c07b4df
extracted wxTextWrapper in its own header and made it public
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 20:12:07 +00:00
Vadim Zeitlin
4feecbb929
added wxDC::CopyAttributes() and use it in wxBufferedDC to ensure that wxAutoBufferedPaintDC font is correctly initialized from the window font, as it already happens with wxPaintDC that it mimics
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 19:40:04 +00:00
Václav Slavík
a5c1223d2f
use enhanced metafiles for wxMSW print preview: this is as accurate as previous code, but much faster ( fixes #9970 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 19:15:07 +00:00
Václav Slavík
cc3445715d
add ability to create wxEnhMetaFileDC based on a reference DC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 19:11:15 +00:00
Vadim Zeitlin
dd36b5a3e5
don't redefine HAVE_STRFTIME as it can already be defined by configure ( closes #10861 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 18:57:20 +00:00
Vadim Zeitlin
4b14a2f79b
added default ctor to wxMouseEventsManager, this is convenient when deriving window classes (which must provide default ctors to e.g. allow loading them from XRC) from it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 14:43:01 +00:00
Vadim Zeitlin
0598625cb2
don't add client area origin when positioning the child MDI frame
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 13:22:45 +00:00