X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d1bf0be0bcb74c67c35556138b891fd907b1d59f..7344108e8a129a3f9b4df5ab0f98a1713db03b89:/include/wx/ribbon/toolbar.h diff --git a/include/wx/ribbon/toolbar.h b/include/wx/ribbon/toolbar.h index a31f5aef48..da6c2624b7 100644 --- a/include/wx/ribbon/toolbar.h +++ b/include/wx/ribbon/toolbar.h @@ -155,6 +155,9 @@ public: virtual void EnableTool(int tool_id, bool enable = true); virtual void ToggleTool(int tool_id, bool checked); + // Finds the best width and height given the parent's width and height + virtual wxSize GetBestSizeForParentSize(const wxSize& parentSize) const; + protected: friend class wxRibbonToolBarEvent; virtual wxSize DoGetBestSize() const;