X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/98742322cdecc1f91bb90d9c804318058722eab0..21d0340384a484e3c8e04280de90c0fb8e261006:/interface/wx/ribbon/control.h diff --git a/interface/wx/ribbon/control.h b/interface/wx/ribbon/control.h index 4a79b47354..7d49661622 100644 --- a/interface/wx/ribbon/control.h +++ b/interface/wx/ribbon/control.h @@ -2,7 +2,6 @@ // Name: ribbon/control.h // Purpose: interface of wxRibbonControl // Author: Peter Cawley -// RCS-ID: $Id$ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -148,6 +147,15 @@ public: */ bool Realise(); + /** + Get the first ancestor which is a wxRibbonBar (or derived) or NULL + if not having such parent. + + @since 2.9.4 + */ + virtual wxRibbonBar* GetAncestorRibbonBar()const; + + /** Finds the best width and height given the parent's width and height. Used to implement the wxRIBBON_PANEL_FLEXIBLE panel style.