From: Stefan Csomor Date: Sun, 18 Sep 2005 19:08:15 +0000 (+0000) Subject: tentative fix for BestSize problems (non-native toolbar) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/363f7643a690f3605eb2bf4ee9f110cc4e714213 tentative fix for BestSize problems (non-native toolbar) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/mac/carbon/toolbar.h b/include/wx/mac/carbon/toolbar.h index 37b328b246..0b6ec16033 100644 --- a/include/wx/mac/carbon/toolbar.h +++ b/include/wx/mac/carbon/toolbar.h @@ -55,6 +55,7 @@ class WXDLLEXPORT wxToolBar: public wxToolBarBase virtual bool Show(bool show = true); virtual bool IsShown() const; virtual void DoGetSize(int *width, int *height) const; + virtual wxSize DoGetBestSize() const ; virtual bool Realize(); virtual void SetToolBitmapSize(const wxSize& size);