]>
Commit | Line | Data |
---|---|---|
1 | ///////////////////////////////////////////////////////////////////////////// | |
2 | // Name: src/osx/carbon/toolbar.cpp | |
3 | // Purpose: wxToolBar | |
4 | // Author: Stefan Csomor | |
5 | // Modified by: | |
6 | // Created: 04/01/98 | |
7 | // RCS-ID: $Id: toolbar.cpp 54954 2008-08-03 11:27:03Z VZ $ | |
8 | // Copyright: (c) Stefan Csomor | |
9 | // Licence: wxWindows licence | |
10 | ///////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | #include "wx/wxprec.h" | |
13 | ||
14 | #if wxUSE_TOOLBAR | |
15 | ||
16 | #include "wx/toolbar.h" | |
17 | ||
18 | #ifndef WX_PRECOMP | |
19 | #include "wx/wx.h" | |
20 | #endif | |
21 | ||
22 | #include "wx/app.h" | |
23 | #include "wx/osx/private.h" | |
24 | #include "wx/geometry.h" | |
25 | #include "wx/sysopt.h" | |
26 | ||
27 | IMPLEMENT_DYNAMIC_CLASS(wxToolBar, wxControl) | |
28 | ||
29 | bool wxToolBar::Destroy() | |
30 | { | |
31 | #if wxOSX_USE_NATIVE_TOOLBAR | |
32 | MacUninstallNativeToolbar(); | |
33 | #endif | |
34 | return wxToolBarBase::Destroy(); | |
35 | } | |
36 | ||
37 | #endif // wxUSE_TOOLBAR |