X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c155b9b519b54aa5410930bcdc5c6478ebda1251..a4301b8f14d21b7d28fc4f6a247b740d945ca6dc:/include/wx/ribbon/control.h?ds=inline diff --git a/include/wx/ribbon/control.h b/include/wx/ribbon/control.h index 35cfd5777c..9fd1b92a1d 100644 --- a/include/wx/ribbon/control.h +++ b/include/wx/ribbon/control.h @@ -19,6 +19,7 @@ #include "wx/control.h" #include "wx/dynarray.h" +class wxRibbonBar; class wxRibbonArtProvider; class WXDLLIMPEXP_RIBBON wxRibbonControl : public wxControl @@ -55,6 +56,11 @@ public: virtual bool Realize(); bool Realise() {return Realize();} + virtual wxRibbonBar* GetAncestorRibbonBar()const; + + // 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;