mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-14 22:51:32 +00:00
36 lines
785 B
C++
36 lines
785 B
C++
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: src/osx/toolbar_osx.cpp
|
|
// Purpose: wxToolBar
|
|
// Author: Stefan Csomor
|
|
// Modified by:
|
|
// Created: 04/01/98
|
|
// 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
|