/////////////////////////////////////////////////////////////////////////////
-// Name: wx/mac/carbon/toolbar.h
+// Name: wx/osx/toolbar.h
// Purpose: wxToolBar class
// Author: Stefan Csomor
// Modified by:
virtual void SetWindowStyleFlag(long style);
+ virtual bool Destroy();
+
// override/implement base class virtuals
virtual wxToolBarToolBase *FindToolForPosition(wxCoord x, wxCoord y) const;
void OnMouse(wxMouseEvent& event) ;
virtual void MacSuperChangedPosition() ;
#endif
-
+
#if wxOSX_USE_NATIVE_TOOLBAR
bool MacInstallNativeToolbar(bool usesNative);
+ void MacUninstallNativeToolbar();
bool MacWantsNativeToolbar();
bool MacTopLevelHasNativeToolbar(bool *ownToolbarInstalled) const;
#endif
void* m_macToolbar ;
#endif
#ifdef __WXOSX_IPHONE__
- WX_UIView m_macToolbar;
+ WX_UIView m_macToolbar;
#endif
};