]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't set a large minimum size for both panes
authorJulian Smart <julian@anthemion.co.uk>
Thu, 5 Mar 2009 15:54:50 +0000 (15:54 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 5 Mar 2009 15:54:50 +0000 (15:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/html/helpwnd.cpp

index 1a079d8f76e8dd1361a9047860a5c8f0aa7920f1..8f5d31464209079570e8664934c2a68adeac7f86 100644 (file)
@@ -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 )
         {