]> git.saurik.com Git - wxWidgets.git/commitdiff
Book controls also shouldn't do anything for SetInitialBestSize
authorRobin Dunn <robin@alldunn.com>
Tue, 4 May 2004 00:53:19 +0000 (00:53 +0000)
committerRobin Dunn <robin@alldunn.com>
Tue, 4 May 2004 00:53:19 +0000 (00:53 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/bookctrl.h

index 883a27bebc9e3b13d51a993e5ec3f572f8e1d28f..3883770cf30f463e61fc53ecc842b71d2a8bfe70 100644 (file)
@@ -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;