]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/splitter.cpp
Add wxGraphicsMatrix::Get
[wxWidgets.git] / src / generic / splitter.cpp
index 6e084f1696e5cd895820a1d8b2a3b7b9317921b3..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->GetAdjustedBestSize();
+        size1 = m_windowOne->GetEffectiveMinSize();
     if ( m_windowTwo )
-        size2 = m_windowTwo->GetAdjustedBestSize();
+        size2 = m_windowTwo->GetEffectiveMinSize();
 
     // sum them
     //