X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/98742322cdecc1f91bb90d9c804318058722eab0..66c2bf7b1d9326fb650acfaae22ec50528cfbf7c:/include/wx/ribbon/control.h diff --git a/include/wx/ribbon/control.h b/include/wx/ribbon/control.h index f0f3d12089..cbd445b8d3 100644 --- a/include/wx/ribbon/control.h +++ b/include/wx/ribbon/control.h @@ -4,7 +4,6 @@ // Author: Peter Cawley // Modified by: // Created: 2009-06-05 -// RCS-ID: $Id$ // Copyright: (C) Peter Cawley // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -19,6 +18,7 @@ #include "wx/control.h" #include "wx/dynarray.h" +class wxRibbonBar; class wxRibbonArtProvider; class WXDLLIMPEXP_RIBBON wxRibbonControl : public wxControl @@ -55,6 +55,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(); }