]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/glcanvas.h
avoid a bug in Carbon headers
[wxWidgets.git] / include / wx / gtk1 / glcanvas.h
index 29f3deabc35271904519c2bcb031fc854b601d34..96ca1ffffd490bdec91b1a7752fa855236aef2c3 100644 (file)
@@ -9,7 +9,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "glcanvas.h"
 #endif