X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/98742322cdecc1f91bb90d9c804318058722eab0..a7689c49fe02c0c065facf736ab28b19f5997b7c:/include/wx/ribbon/control.h diff --git a/include/wx/ribbon/control.h b/include/wx/ribbon/control.h index f0f3d12089..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,8 @@ 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(); }