]> git.saurik.com Git - wxWidgets.git/blame - src/osx/toolbar_osx.cpp
changing to allow for 2x ramping up NSApp run
[wxWidgets.git] / src / osx / toolbar_osx.cpp
CommitLineData
524c47aa 1/////////////////////////////////////////////////////////////////////////////
80fdcdb9 2// Name: src/osx/toolbar_osx.cpp
524c47aa
SC
3// Purpose: wxToolBar
4// Author: Stefan Csomor
5// Modified by:
6// Created: 04/01/98
524c47aa
SC
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
26IMPLEMENT_DYNAMIC_CLASS(wxToolBar, wxControl)
27
1665389a
KO
28bool wxToolBar::Destroy()
29{
30#if wxOSX_USE_NATIVE_TOOLBAR
31 MacUninstallNativeToolbar();
32#endif
33 return wxToolBarBase::Destroy();
34}
524c47aa
SC
35
36#endif // wxUSE_TOOLBAR