]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/ribbon/control.h
Interface fixes for Phoenix
[wxWidgets.git] / include / wx / ribbon / control.h
index 35cfd5777c8268af684bf0d93a508b852eb99255..f0f3d1208972f639002700bd7f34ef47afa242a4 100644 (file)
@@ -55,6 +55,9 @@ public:
     virtual bool Realize();
     bool Realise() {return Realize();}
 
     virtual bool Realize();
     bool Realise() {return Realize();}
 
+    // Finds the best width and height given the parent's width and height
+    virtual wxSize GetBestSizeForParentSize(const wxSize& WXUNUSED(parentSize)) const { return GetBestSize(); }
+
 protected:
     wxRibbonArtProvider* m_art;
 
 protected:
     wxRibbonArtProvider* m_art;