]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/splitter.cpp
Better wxFile support, warning fixes and minor source cleaning.
[wxWidgets.git] / src / generic / splitter.cpp
index 7c5d2354bdf3a0647d8976e7411a04b43e3117b6..d39356302cad962f8f42fc7299190a1f4509ca3e 100644 (file)
@@ -877,9 +877,9 @@ wxSize wxSplitterWindow::DoGetBestSize() const
     // get best sizes of subwindows
     wxSize size1, size2;
     if ( m_windowOne )
-        size1 = m_windowOne->GetBestSize();
+        size1 = m_windowOne->GetAdjustedBestSize();
     if ( m_windowTwo )
-        size2 = m_windowTwo->GetBestSize();
+        size2 = m_windowTwo->GetAdjustedBestSize();
 
     // sum them
     //