]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/bookctrl.cpp
Switch off adjust min size for book control and therefore notebook,
[wxWidgets.git] / 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