X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3c3ead1d1513a5eb79091a604f4e42b45d1bdf5d..937d5b6075db060b98daa0f0fadbaa528bc85554:/include/wx/ribbon/bar.h diff --git a/include/wx/ribbon/bar.h b/include/wx/ribbon/bar.h index 39752c7c58..4f62dbadd9 100644 --- a/include/wx/ribbon/bar.h +++ b/include/wx/ribbon/bar.h @@ -115,7 +115,6 @@ public: wxRibbonPage* GetPage(int n); bool DismissExpandedPanel(); - virtual wxSize DoGetBestSize() const; virtual bool HasMultiplePages() const { return true; } void SetWindowStyleFlag(long style); @@ -125,6 +124,7 @@ public: protected: friend class wxRibbonPage; + virtual wxSize DoGetBestSize() const; wxBorder GetDefaultBorder() const { return wxBORDER_NONE; } wxRibbonPageTabInfo* HitTestTabs(wxPoint position, int* index = NULL);