X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3c3ead1d1513a5eb79091a604f4e42b45d1bdf5d..85047589a993f5c5529e1dae284be8af84cd68ef:/include/wx/ribbon/panel.h diff --git a/include/wx/ribbon/panel.h b/include/wx/ribbon/panel.h index d36c82af28..0c9f5f887f 100644 --- a/include/wx/ribbon/panel.h +++ b/include/wx/ribbon/panel.h @@ -23,7 +23,7 @@ enum wxRibbonPanelOption wxRIBBON_PANEL_NO_AUTO_MINIMISE = 1 << 0, wxRIBBON_PANEL_EXT_BUTTON = 1 << 3, wxRIBBON_PANEL_MINIMISE_BUTTON = 1 << 4, - + wxRIBBON_PANEL_DEFAULT_STYLE = 0, }; @@ -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,9 @@ public: wxRibbonPanel* GetExpandedPanel(); protected: + virtual wxSize DoGetBestSize() const; + virtual wxSize GetPanelSizerBestSize() const; + wxSize GetPanelSizerMinSize() const; wxBorder GetDefaultBorder() const { return wxBORDER_NONE; } wxSize GetMinNotMinimisedSize() const;