From: Robin Dunn Date: Tue, 4 May 2004 00:53:19 +0000 (+0000) Subject: Book controls also shouldn't do anything for SetInitialBestSize X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6457949e5cc78e6931ad13a2b15c1846254120ab Book controls also shouldn't do anything for SetInitialBestSize git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/bookctrl.h b/include/wx/bookctrl.h index 883a27bebc..3883770cf3 100644 --- a/include/wx/bookctrl.h +++ b/include/wx/bookctrl.h @@ -177,6 +177,8 @@ protected: // common part of all ctors void Init(); + // Always rely on GetBestSize, which will look at all the pages + virtual void SetInitialBestSize(const wxSize& WXUNUSED(size)) { } // the array of all pages of this control wxArrayPages m_pages;