Vadim Zeitlin
be5be16a23
interpret ~ specially only when it is the first character of the path ( closes #10948 , see #10941 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-01 09:07:38 +00:00
Vadim Zeitlin
9630954d5d
remove _T()s and wxChars from the test making it much more readable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-01 09:02:30 +00:00
Vadim Zeitlin
a219792590
ensure that we have event loop before showing a modal dialog; this allows to do it even before the main application loop starts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-01 09:02:06 +00:00
Vadim Zeitlin
795ac80edb
make wxSortedArrayString::Sort() and Insert() private in STL build ( closes #10947 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-01 08:56:31 +00:00
Vadim Zeitlin
e5c48ccdf6
correct wxSortedArrayString(wxArrayString) ctor documentation ( closes #10944 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-30 13:31:53 +00:00
Vadim Zeitlin
68623b5937
don't use wxFilePicker style when creating wxButton
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-29 22:07:34 +00:00
Kevin Ollivier
f5008769d6
Fix typo in class name.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-28 23:16:25 +00:00
Vadim Zeitlin
842adaf697
simplify ScrollTo()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-28 21:50:55 +00:00
Vadim Zeitlin
820c05dfd6
remove obsolete comment moved to wxBitmapButtonBase
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-28 21:49:48 +00:00
Vadim Zeitlin
2ac0ac7c1b
another compilation fix after r61232
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-28 21:02:20 +00:00
Vadim Zeitlin
ceceef4c05
don't include wx/msw/winundef.h when including wx/defs.h from C code ( closes #10910 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-28 17:32:20 +00:00
Vadim Zeitlin
be9ba6e5be
compilation fix for wxUniv with 2.8 compatibility disabled ( closes #10912 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-28 17:16:41 +00:00
Julian Smart
aa838aed9a
Allow for menus when deleting a tool
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-28 17:01:13 +00:00
Vadim Zeitlin
7e3204b45c
added wxICON_NONE and implement support for it in wxGTK ( closes #2897 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-28 16:25:37 +00:00
Vadim Zeitlin
78eecde086
compilation fix after r61232
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-28 16:22:55 +00:00
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
e71aec80fd
check whether we show bitmaps at all in GTKUpdateBitmap() ( closes #10933 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-27 22:11:41 +00:00
Vadim Zeitlin
cf7f7d5d96
correct an example which had no chance of working
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-27 21:35:27 +00:00
Julian Smart
f81140485a
Fix for toolbar commands not working
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-27 12:31:12 +00:00
Kevin Ollivier
e77cba1a9c
Add wxGraphicsBitmap overload for DrawBitmap.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-24 21:28:31 +00:00
Vadim Zeitlin
597b64c291
mention that the date passed to SetValue() must only be valid unless the control has wxDP_ALLOWNONE style
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-24 18:20:12 +00:00
Vadim Zeitlin
ba8ac2c7c3
compilation fix after wxBitmap image changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-24 14:49:53 +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
Julian Smart
e5cda2df16
Style selection now restored after editing the style
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-24 10:35:54 +00:00
Julian Smart
04529b2af2
Made standard bullet names translatable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-24 10:28:20 +00:00
Kevin Ollivier
3c10f6db79
Build fixes after the 2.8->trunk forward port.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-23 17:39:14 +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
Vadim Zeitlin
8c6c5778c2
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
2009-06-22 20:07:50 +00:00
Vadim Zeitlin
1fe0e46ec4
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
2009-06-22 20:07:07 +00:00
Vadim Zeitlin
d46a35d092
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
2009-06-22 18:37:09 +00:00
Vadim Zeitlin
ca910e1a13
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
2009-06-22 18:36:19 +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
Vadim Zeitlin
9aeace31b7
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
2009-06-22 12:13:56 +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
Vadim Zeitlin
b727fcd3ad
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
2009-06-21 02:01:51 +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
Julian Smart
015d04462f
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
2009-06-20 23:26:20 +00:00
Stefan Csomor
9581362b15
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
2009-06-20 23:10:10 +00:00
Stefan Csomor
773809f57c
simplify condition
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-20 23:07:44 +00:00
Vadim Zeitlin
e490b0d23b
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
2009-06-20 21:27:20 +00:00
Vadim Zeitlin
6398a32d3b
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
2009-06-20 20:05:52 +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
bad6c5e264
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
2009-06-19 23:36:35 +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