X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3c3ead1d1513a5eb79091a604f4e42b45d1bdf5d..603c73dbba59abf6cad3897d8cbbbb3b518a9440:/include/wx/ribbon/panel.h diff --git a/include/wx/ribbon/panel.h b/include/wx/ribbon/panel.h index d36c82af28..83add15ef3 100644 --- a/include/wx/ribbon/panel.h +++ b/include/wx/ribbon/panel.h @@ -23,8 +23,8 @@ 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, + + wxRIBBON_PANEL_DEFAULT_STYLE = 0 }; class WXDLLIMPEXP_RIBBON wxRibbonPanel : public wxRibbonControl @@ -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;