X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab7ce33c563651f790f99d64ee56727706047ae3..3c203a185145a1aa720faf53e7f6fbebb35bce7a:/include/wx/gtk1/popupwin.h

diff --git a/include/wx/gtk1/popupwin.h b/include/wx/gtk1/popupwin.h
index 46a00922d3..e40673b4e6 100644
--- a/include/wx/gtk1/popupwin.h
+++ b/include/wx/gtk1/popupwin.h
@@ -11,7 +11,7 @@
 #ifndef __GTKPOPUPWINH__
 #define __GTKPOPUPWINH__
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "popupwin.h"
 #endif