]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/popupwin.h
Get rid of inline C compatibility methods
[wxWidgets.git] / include / wx / gtk / popupwin.h
index 40ad14d7465c42a2ba9276d29e5b44a7aed2b00e..e40673b4e6465681a560660ce1cf37119f0fe93f 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef __GTKPOPUPWINH__
 #define __GTKPOPUPWINH__
 
 #ifndef __GTKPOPUPWINH__
 #define __GTKPOPUPWINH__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "popupwin.h"
 #endif
 
     #pragma interface "popupwin.h"
 #endif