]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/layout.h
Added missing NO_GCC_PRAGMA check.
[wxWidgets.git] / include / wx / layout.h
index 388398b9e1a922e39fdebbf1cf50a9ef69639fda..d3212877201ba4a8cb6c6c3e5abf86526c5b1b2c 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     29/01/98
 // RCS-ID:      $Id$
 // Copyright:   (c) 1998 Julian Smart
-// Licence:     wxWindows license
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_LAYOUTH__
@@ -16,7 +16,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "layout.h"
 #endif
 
@@ -149,6 +149,8 @@ protected:
     int percent;
     wxEdge otherEdge;
     bool done;
+
+    DECLARE_DYNAMIC_CLASS(wxIndividualLayoutConstraint)
 };
 
 // ----------------------------------------------------------------------------