]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/control.h
avoid a bug in Carbon headers
[wxWidgets.git] / include / wx / gtk1 / control.h
index 17db76e5711942fd57da856cd3aff3f6a2351fda..623133c461bf6fc3d2efb546885c2ec6476041ec 100644 (file)
@@ -10,7 +10,7 @@
 #ifndef __GTKCONTROLH__
 #define __GTKCONTROLH__
 
 #ifndef __GTKCONTROLH__
 #define __GTKCONTROLH__
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface
 #endif
 
 #pragma interface
 #endif