From: Julian Smart Date: Sat, 19 Jun 2004 17:53:50 +0000 (+0000) Subject: Switch off adjust min size for book control and therefore notebook, X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/0335f6f746068090e7877bc556bbb5d6f184991e?ds=inline Switch off adjust min size for book control and therefore notebook, 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 --- diff --git a/src/common/bookctrl.cpp b/src/common/bookctrl.cpp index b04136183e..553ee11ffd 100644 --- a/src/common/bookctrl.cpp +++ b/src/common/bookctrl.cpp @@ -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