X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0c133e13b36a923c65f94499554e432bc3a0daa..69e65b6c0baf05e34e1655b53e76ece4465b4ad8:/src/html/helpwnd.cpp?ds=sidebyside 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 ) {