"top" was mistakenly used in the code dealing with "left" constraint.
Thanks to Coverity for finding this one.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73146
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
if ( c )
{
- if ( c->left.GetOtherWindow() && (c->top.GetOtherWindow() != this) )
+ if ( c->left.GetOtherWindow() && (c->left.GetOtherWindow() != this) )
c->left.GetOtherWindow()->RemoveConstraintReference(this);
if ( c->top.GetOtherWindow() && (c->top.GetOtherWindow() != this) )
c->top.GetOtherWindow()->RemoveConstraintReference(this);