X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3c3ead1d1513a5eb79091a604f4e42b45d1bdf5d..032e024c1c6ab6a20226604baab9d00558620e72:/include/wx/ribbon/panel.h diff --git a/include/wx/ribbon/panel.h b/include/wx/ribbon/panel.h index d36c82af28..1b2e20eb74 100644 --- a/include/wx/ribbon/panel.h +++ b/include/wx/ribbon/panel.h @@ -65,7 +65,6 @@ public: virtual bool Realize(); virtual bool Layout(); virtual wxSize GetMinSize() const; - virtual wxSize DoGetBestSize() const; virtual bool IsSizingContinuous() const; @@ -76,6 +75,7 @@ public: wxRibbonPanel* GetExpandedPanel(); protected: + virtual wxSize DoGetBestSize() const; wxBorder GetDefaultBorder() const { return wxBORDER_NONE; } wxSize GetMinNotMinimisedSize() const;