mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-21 03:26:02 +01:00
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
|