]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/ribbon/panel.h
Use wxPageSetupDialogData instead of old wxPageSetupData everywhere.
[wxWidgets.git] / include / wx / ribbon / panel.h
index 1b2e20eb74f716f31c80abeca8b63788d74b5722..83add15ef30dd28556826561527c0a931b9e3b61 100644 (file)
@@ -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
@@ -76,6 +76,8 @@ public:
 
 protected:
     virtual wxSize DoGetBestSize() const;
+    virtual wxSize GetPanelSizerBestSize() const;
+    wxSize  GetPanelSizerMinSize() const;
     wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
     wxSize GetMinNotMinimisedSize() const;