fixed bug in wxHtmlHelpFrame: didn't show HTML window when navigation panel was off

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2002-03-08 23:43:11 +00:00
parent 91a64dfd31
commit 00251d9bf7

View File

@ -468,11 +468,6 @@ bool wxHtmlHelpFrame::Create(wxWindow* parent, wxWindowID id,
m_Splitter->SetMinimumPaneSize(20); m_Splitter->SetMinimumPaneSize(20);
if ( m_Cfg.navig_on ) if ( m_Cfg.navig_on )
m_Splitter->SplitVertically(m_NavigPan, m_HtmlWin, m_Cfg.sashpos); m_Splitter->SplitVertically(m_NavigPan, m_HtmlWin, m_Cfg.sashpos);
else
{
m_Splitter->SplitVertically(m_NavigPan, m_HtmlWin, m_Cfg.sashpos);
m_Splitter->Unsplit();
}
if ( m_Cfg.navig_on ) if ( m_Cfg.navig_on )
{ {