]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/dc.h
avoid a bug in Carbon headers
[wxWidgets.git] / include / wx / gtk1 / dc.h
index bf3526f704d4a47810b60d2461c6c95cdaf0fe06..23650e5c0cc7b42014e97593a7235a9982e6057a 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef __GTKDCH__
 #define __GTKDCH__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface
 #endif