]> git.saurik.com Git - wxWidgets.git/blob - src/osx/toolbar_osx.cpp
Don't generate any events from wxSpinCtrl and wxSpinCtrlDouble methods.
[wxWidgets.git] / src / osx / toolbar_osx.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/osx/toolbar_osx.cpp
3 // Purpose: wxToolBar
4 // Author: Stefan Csomor
5 // Modified by:
6 // Created: 04/01/98
7 // Copyright: (c) Stefan Csomor
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
10
11 #include "wx/wxprec.h"
12
13 #if wxUSE_TOOLBAR
14
15 #include "wx/toolbar.h"
16
17 #ifndef WX_PRECOMP
18 #include "wx/wx.h"
19 #endif
20
21 #include "wx/app.h"
22 #include "wx/osx/private.h"
23 #include "wx/geometry.h"
24 #include "wx/sysopt.h"
25
26 IMPLEMENT_DYNAMIC_CLASS(wxToolBar, wxControl)
27
28 bool wxToolBar::Destroy()
29 {
30 #if wxOSX_USE_NATIVE_TOOLBAR
31 MacUninstallNativeToolbar();
32 #endif
33 return wxToolBarBase::Destroy();
34 }
35
36 #endif // wxUSE_TOOLBAR