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