X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/98742322cdecc1f91bb90d9c804318058722eab0..e6bf1a0f9e54d2112d01582f898db5e2e25b9c7b:/interface/wx/ribbon/control.h?ds=sidebyside diff --git a/interface/wx/ribbon/control.h b/interface/wx/ribbon/control.h index 4a79b47354..88e0c85ee0 100644 --- a/interface/wx/ribbon/control.h +++ b/interface/wx/ribbon/control.h @@ -148,6 +148,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.