]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sizer.cpp
wxWinCE compile fixes
[wxWidgets.git] / src / common / sizer.cpp
index a691f6431c5af175f8741d922e325819d515c421..3429e7b01f2205751fd54b25bba9f55a55536029 100644 (file)
@@ -276,7 +276,7 @@ wxSize wxSizerItem::CalcMin()
     {
         // Since the size of the window may change during runtime, we
         // should use the current minimal/best size.
-        m_minSize = m_window->GetBestFittingSize();
+        m_minSize = m_window->GetEffectiveMinSize();
     }
 
     return GetMinSizeWithBorder();