X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/98742322cdecc1f91bb90d9c804318058722eab0..7c70331e28be93b833dfa4f2594a25841fcb6e20:/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(); }