X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a0b48f2651beaccb480cc0a6e5ba8e8b3cfa0346..c5ba48512424b7e543cadfccef304fe170bdf910:/include/wx/osx/toolbar.h diff --git a/include/wx/osx/toolbar.h b/include/wx/osx/toolbar.h index 46d94b5edc..df388af6eb 100644 --- a/include/wx/osx/toolbar.h +++ b/include/wx/osx/toolbar.h @@ -44,6 +44,8 @@ class WXDLLIMPEXP_CORE wxToolBar: public wxToolBarBase const wxString& name = wxToolBarNameStr); virtual void SetWindowStyleFlag(long style); + + virtual bool Destroy(); // override/implement base class virtuals virtual wxToolBarToolBase *FindToolForPosition(wxCoord x, wxCoord y) const; @@ -73,6 +75,7 @@ class WXDLLIMPEXP_CORE wxToolBar: public wxToolBarBase #if wxOSX_USE_NATIVE_TOOLBAR bool MacInstallNativeToolbar(bool usesNative); + void MacUninstallNativeToolbar(); bool MacWantsNativeToolbar(); bool MacTopLevelHasNativeToolbar(bool *ownToolbarInstalled) const; #endif