mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-19 02:36:27 +01:00

long become wxWidgets 2.9.2, which in turn is expected to be the last 2.9 release before the 3.0 stable release. Since the full wxWidgets distribution is rather large, I have imported only the parts that we use, on a subdirectory basis: art include/wx/*.* include/wx/aui include/wx/cocoa include/wx/generic include/wx/gtk include/wx/meta include/wx/msw include/wx/osx include/wx/persist include/wx/private include/wx/protocol include/wx/unix src/aui src/common src/generic src/gtk src/msw src/osx src/unix git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7380 8ced0084-cf51-0410-be5f-012b33b47a6e
38 lines
854 B
C++
38 lines
854 B
C++
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: src/osx/toolbar_osx.cpp
|
|
// Purpose: wxToolBar
|
|
// Author: Stefan Csomor
|
|
// Modified by:
|
|
// Created: 04/01/98
|
|
// RCS-ID: $Id: toolbar_osx.cpp 67254 2011-03-20 00:14:35Z DS $
|
|
// Copyright: (c) Stefan Csomor
|
|
// Licence: wxWindows licence
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#include "wx/wxprec.h"
|
|
|
|
#if wxUSE_TOOLBAR
|
|
|
|
#include "wx/toolbar.h"
|
|
|
|
#ifndef WX_PRECOMP
|
|
#include "wx/wx.h"
|
|
#endif
|
|
|
|
#include "wx/app.h"
|
|
#include "wx/osx/private.h"
|
|
#include "wx/geometry.h"
|
|
#include "wx/sysopt.h"
|
|
|
|
IMPLEMENT_DYNAMIC_CLASS(wxToolBar, wxControl)
|
|
|
|
bool wxToolBar::Destroy()
|
|
{
|
|
#if wxOSX_USE_NATIVE_TOOLBAR
|
|
MacUninstallNativeToolbar();
|
|
#endif
|
|
return wxToolBarBase::Destroy();
|
|
}
|
|
|
|
#endif // wxUSE_TOOLBAR
|