From: Vadim Zeitlin Date: Fri, 31 Aug 2001 19:07:59 +0000 (+0000) Subject: applied a patch to remove spurious constrains unsatisifed warnings X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e2f9212c00094f3032511bc7d42efc7c1b91134b applied a patch to remove spurious constrains unsatisifed warnings git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/wincmn.cpp b/src/common/wincmn.cpp index f71daad3b5..df455c9cfa 100644 --- a/src/common/wincmn.cpp +++ b/src/common/wincmn.cpp @@ -1277,7 +1277,7 @@ void wxWindowBase::SetConstraintSizes(bool recurse) while (node) { wxWindow *win = node->GetData(); - if ( !win->IsTopLevel() ) + if ( !win->IsTopLevel() && win->GetConstraints() ) win->SetConstraintSizes(); node = node->GetNext(); }