Vadim Zeitlin
e6b3b53c2c
Enclose code using m_macToolbar in #if wxOSX_USE_NATIVE_TOOLBAR.
...
Don't use m_macToolbar which is only used when the toolbar is a native one
when we don't really use the native toolbar.
This should fix compilation in case wxOSX_USE_NATIVE_TOOLBAR is 0.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-03-02 18:16:02 +00:00
Kevin Ollivier
1665389a9a
Remove the native toolbar from the frame in Destroy() rather than the destructor, as removing it in the destructor causes resize / repaint events to fire on the native control, which then goes to wx controls being deleted.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-25 20:43:43 +00:00
Vadim Zeitlin
9a83f86094
Globally replace _T() with wxT().
...
Standardize on using a single macro across all wxWidgets sources and solve the name clash with Sun CC standard headers (see #10660 ).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-23 20:30:22 +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
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
Stefan Csomor
a4fec5b41e
fixing unused param warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-04 09:05:59 +00:00
Vadim Zeitlin
d3b9f782ef
don't use annoying and unneeded in C++ casts of NULL to "T *" in all other files neither
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-19 13:55:27 +00:00
Robert Roebling
b0184e5939
Don't make wxFrame grow when adding a native wxToolbar
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 23:45:08 +00:00
Robert Roebling
f656d37923
Tried to improve look of toogle tool under OS X, adapted from #10346 : Nicer drawing of pseudo-toggle toolbar button on OS X
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-09 10:31:43 +00:00
Vadim Zeitlin
5c33522fca
replace wx_{const,static,reinterpret}_cast with their standard C++ equivalents
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-02 02:39:52 +00:00
Stefan Csomor
2bed17c862
implementing changes in toolbartool directly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 19:38:27 +00:00
Stefan Csomor
524c47aa3a
osx new layout
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-02 16:53:23 +00:00
Vadim Zeitlin
402c3347d2
no real changes, just refactor to remove some code duplication in wxToolBarTool
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 11:27:03 +00:00
Vadim Zeitlin
e3e061ee13
implement wxToolBarTool::SetLabel() for wxOSX_USE_NATIVE_TOOLBAR ( #9746 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 11:23:51 +00:00
Stefan Csomor
292e5e1f17
OSX renaming round 2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-30 14:52:41 +00:00
Stefan Csomor
b2680ced12
osx regrouping
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 20:04:11 +00:00
Stefan Csomor
1f0c8f31f4
fixing file paths after renaming
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 19:30:52 +00:00
Stefan Csomor
489468feaa
renaming
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 16:46:03 +00:00