X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/017dc06b502c041c112a3948e6c5f65000a86d94..07c7226468720dc9ad09db54154e67984588568e:/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.