X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3c3ead1d1513a5eb79091a604f4e42b45d1bdf5d..58ce18f2fdadecffb21e27555115af708325cf18:/include/wx/ribbon/toolbar.h diff --git a/include/wx/ribbon/toolbar.h b/include/wx/ribbon/toolbar.h index ae11bc7dc7..206d2691ad 100644 --- a/include/wx/ribbon/toolbar.h +++ b/include/wx/ribbon/toolbar.h @@ -88,10 +88,10 @@ public: virtual void SetRows(int nMin, int nMax = -1); virtual bool IsSizingContinuous() const; - virtual wxSize DoGetBestSize() const; protected: friend class wxRibbonToolBarEvent; + virtual wxSize DoGetBestSize() const; wxBorder GetDefaultBorder() const { return wxBORDER_NONE; } void OnEraseBackground(wxEraseEvent& evt);