From: Julian Smart Date: Thu, 5 Mar 2009 15:54:50 +0000 (+0000) Subject: Don't set a large minimum size for both panes X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6738c4724a30e4dc4498bad2f2028fb913fd2f33?hp=cdfd5e01663ff0febc9630ac4cfa317841b4fb26 Don't set a large minimum size for both panes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/html/helpwnd.cpp b/src/html/helpwnd.cpp index 1a079d8f76..8f5d314642 100644 --- a/src/html/helpwnd.cpp +++ b/src/html/helpwnd.cpp @@ -564,10 +564,12 @@ bool wxHtmlHelpWindow::Create(wxWindow* parent, wxWindowID id, // showtime if ( m_NavigPan && m_Splitter ) { - if (m_NavigPan) - m_Splitter->SetMinimumPaneSize(m_NavigPan->GetBestSize().x); - else - m_Splitter->SetMinimumPaneSize(20); + // The panel will have its own min size which the splitter + // should respect + //if (m_NavigPan) + // m_Splitter->SetMinimumPaneSize(m_NavigPan->GetBestSize().x); + //else + m_Splitter->SetMinimumPaneSize(20); if ( m_Cfg.navig_on ) {