]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/ribbon/panel.h
Set initial window size as its minimal size.
[wxWidgets.git] / include / wx / ribbon / panel.h
index d36c82af28e79eeb693fb28bb2d6146e61a1ba5c..1b2e20eb74f716f31c80abeca8b63788d74b5722 100644 (file)
@@ -65,7 +65,6 @@ public:
     virtual bool Realize();
     virtual bool Layout();
     virtual wxSize GetMinSize() const;
     virtual bool Realize();
     virtual bool Layout();
     virtual wxSize GetMinSize() const;
-    virtual wxSize DoGetBestSize() const;
 
     virtual bool IsSizingContinuous() const;
 
 
     virtual bool IsSizingContinuous() const;
 
@@ -76,6 +75,7 @@ public:
     wxRibbonPanel* GetExpandedPanel();
 
 protected:
     wxRibbonPanel* GetExpandedPanel();
 
 protected:
+    virtual wxSize DoGetBestSize() const;
     wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
     wxSize GetMinNotMinimisedSize() const;
 
     wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
     wxSize GetMinNotMinimisedSize() const;