From 0335f6f746068090e7877bc556bbb5d6f184991e Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sat, 19 Jun 2004 17:53:50 +0000 Subject: [PATCH] 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 --- src/common/bookctrl.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.50.0