X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/63ec432bd7b9c93961e85e871bcb31758364a634..81853b98619293be66074d74d2557973c0f3ab21:/include/wx/mac/carbon/toolbar.h diff --git a/include/wx/mac/carbon/toolbar.h b/include/wx/mac/carbon/toolbar.h index a5fb9c3b85..ee979c767e 100644 --- a/include/wx/mac/carbon/toolbar.h +++ b/include/wx/mac/carbon/toolbar.h @@ -50,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); @@ -75,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);