]> git.saurik.com Git - wxWidgets.git/blame - src/osx/toolbar_osx.cpp
adding magnification API into the wxWindow classes for best retina support
[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
b5b208a1 7// RCS-ID: $Id$
524c47aa
SC
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
27IMPLEMENT_DYNAMIC_CLASS(wxToolBar, wxControl)
28
1665389a
KO
29bool wxToolBar::Destroy()
30{
31#if wxOSX_USE_NATIVE_TOOLBAR
32 MacUninstallNativeToolbar();
33#endif
34 return wxToolBarBase::Destroy();
35}
524c47aa
SC
36
37#endif // wxUSE_TOOLBAR