From 6457949e5cc78e6931ad13a2b15c1846254120ab Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 4 May 2004 00:53:19 +0000 Subject: [PATCH] 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 --- include/wx/bookctrl.h | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.50.0