X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/003b64a7badedc5b21ffda7b938a3aacbf7e380e..044bb772d6d7c2b7c15c05f58c46c5829bc1cb1a:/src/common/sizer.cpp?ds=inline diff --git a/src/common/sizer.cpp b/src/common/sizer.cpp index a691f6431c..3429e7b01f 100644 --- a/src/common/sizer.cpp +++ b/src/common/sizer.cpp @@ -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();