]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/layout.h
Make use of new array functions.
[wxWidgets.git] / include / wx / layout.h
index e3e5353ce7534b780a917619708aac442fd37338..ebfff6e6695df87e5cd1fd5861df62991014a818 100644 (file)
@@ -16,7 +16,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
     #pragma interface "layout.h"
 #endif
 
@@ -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();
     }
 };