]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/splitter.cpp
don't use SetWindowStyleFlag() in wxWindowBase::CreateBase() but assign to m_windowSt...
[wxWidgets.git] / src / generic / splitter.cpp
index a869918ae00b45db97a77e24bc506b54458de9ad..a8747b4652dcc967e926875ce8f63dca50147a1b 100644 (file)
@@ -884,9 +884,9 @@ wxSize wxSplitterWindow::DoGetBestSize() const
     // get best sizes of subwindows
     wxSize size1, size2;
     if ( m_windowOne )
-        size1 = m_windowOne->GetBestFittingSize();
+        size1 = m_windowOne->GetEffectiveMinSize();
     if ( m_windowTwo )
-        size2 = m_windowTwo->GetBestFittingSize();
+        size2 = m_windowTwo->GetEffectiveMinSize();
 
     // sum them
     //