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
This commit is contained in:
@@ -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 )
|
||||
{
|
||||
|
Reference in New Issue
Block a user