wxRIBBON_PANEL_NO_AUTO_MINIMISE = 1 << 0,
wxRIBBON_PANEL_EXT_BUTTON = 1 << 3,
wxRIBBON_PANEL_MINIMISE_BUTTON = 1 << 4,
-
+
wxRIBBON_PANEL_DEFAULT_STYLE = 0,
};
virtual bool Realize();
virtual bool Layout();
virtual wxSize GetMinSize() const;
- virtual wxSize DoGetBestSize() const;
virtual bool IsSizingContinuous() const;
wxRibbonPanel* GetExpandedPanel();
protected:
+ virtual wxSize DoGetBestSize() const;
+ virtual wxSize GetPanelSizerBestSize() const;
+ wxSize GetPanelSizerMinSize() const;
wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
wxSize GetMinNotMinimisedSize() const;