]> git.saurik.com Git - wxWidgets.git/commitdiff
Switch off adjust min size for book control and therefore notebook,
authorJulian Smart <julian@anthemion.co.uk>
Sat, 19 Jun 2004 17:53:50 +0000 (17:53 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sat, 19 Jun 2004 17:53:50 +0000 (17:53 +0000)
since we don't want to stop notebooks resizing smaller than the initial size

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/bookctrl.cpp

index b04136183e26f69943df4b3cc2a638dd66e55c05..553ee11ffd189a26b243df0ee50121313b363ecd 100644 (file)
@@ -46,6 +46,10 @@ void wxBookCtrl::Init()
 {
     m_imageList = NULL;
     m_ownsImageList = false;
+    // Unlike most controls, we don't want to adjust the min size
+    // when we set the font, since the page size is not related to
+    // the font size.
+    m_adjustMinSize = false;
 }
 
 bool