X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/363f7643a690f3605eb2bf4ee9f110cc4e714213..991d57f8443fc8a31c2ad3e3a8180af08a6394d6:/include/wx/mac/carbon/toolbar.h diff --git a/include/wx/mac/carbon/toolbar.h b/include/wx/mac/carbon/toolbar.h index 0b6ec16033..ee979c767e 100644 --- a/include/wx/mac/carbon/toolbar.h +++ b/include/wx/mac/carbon/toolbar.h @@ -12,16 +12,12 @@ #ifndef _WX_TOOLBAR_H_ #define _WX_TOOLBAR_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "toolbar.h" -#endif - #if wxUSE_TOOLBAR #include "wx/tbarbase.h" #include "wx/dynarray.h" -WXDLLEXPORT_DATA(extern const wxChar*) wxToolBarNameStr; +WXDLLEXPORT_DATA(extern const wxChar) wxToolBarNameStr[]; class WXDLLEXPORT wxToolBar: public wxToolBarBase { @@ -54,8 +50,6 @@ class WXDLLEXPORT wxToolBar: public wxToolBarBase virtual bool Show(bool show = true); virtual bool IsShown() const; - virtual void DoGetSize(int *width, int *height) const; - virtual wxSize DoGetBestSize() const ; virtual bool Realize(); virtual void SetToolBitmapSize(const wxSize& size); @@ -79,7 +73,8 @@ protected: // common part of all ctors void Init(); - // implement base class pure virtuals + virtual void DoGetSize(int *width, int *height) const; + virtual wxSize DoGetBestSize() const; virtual bool DoInsertTool(size_t pos, wxToolBarToolBase *tool); virtual bool DoDeleteTool(size_t pos, wxToolBarToolBase *tool);