From: Julian Smart Date: Thu, 26 Jun 2008 10:55:46 +0000 (+0000) Subject: Fixed bug whereby sash would disappear under left hand pane X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f31f319f0a1135560e9c0ce4b6bafb074ef665f0 Fixed bug whereby sash would disappear under left hand pane git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/html/helpwnd.cpp b/src/html/helpwnd.cpp index 8b159b2594..7c19a1e957 100644 --- a/src/html/helpwnd.cpp +++ b/src/html/helpwnd.cpp @@ -563,9 +563,10 @@ bool wxHtmlHelpWindow::Create(wxWindow* parent, wxWindowID id, // showtime if ( m_NavigPan && m_Splitter ) { - m_Splitter->SetMinimumPaneSize(20); - if ( m_Cfg.navig_on ) - m_Splitter->SplitVertically(m_NavigPan, m_HtmlWin, m_Cfg.sashpos); + if (m_NavigPan) + m_Splitter->SetMinimumPaneSize(m_NavigPan->GetBestSize().x); + else + m_Splitter->SetMinimumPaneSize(20); if ( m_Cfg.navig_on ) {