]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/layout.h
Applied patch for wxComboBox and wxListBox to
[wxWidgets.git] / include / wx / layout.h
index e3e5353ce7534b780a917619708aac442fd37338..0fcd64ecd8ff38766d60f02d9356345e41ba520a 100644 (file)
@@ -177,8 +177,8 @@ public:
     bool SatisfyConstraints(wxWindowBase *win, int *noChanges);
     bool AreSatisfied() const
     {
-        return left.GetDone() && top.GetDone() && right.GetDone() &&
-               bottom.GetDone() && centreX.GetDone() && centreY.GetDone();
+        return left.GetDone() && top.GetDone() &&
+               width.GetDone() && height.GetDone();
     }
 };