From a053a889946b94a85b2204ceb7e012b5c5d8b7ce Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Sat, 15 Apr 2000 17:35:24 +0000 Subject: [PATCH] Correction to minimal size of wxSizers. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/sizer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/sizer.cpp b/src/common/sizer.cpp index 34f7e123b1..8a492661b4 100644 --- a/src/common/sizer.cpp +++ b/src/common/sizer.cpp @@ -132,7 +132,7 @@ wxSize wxSizerItem::CalcMin() wxSize ret; if (IsSizer()) { - ret = m_sizer->CalcMin(); + ret = m_sizer->GetMinSize(); // if we have to preserve aspect ratio _AND_ this is // the first-time calculation, consider ret to be initial size if ((m_flag & wxSHAPED) && !m_ratio) SetRatio(ret);