X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fda7962d029672a5f4c718a3c6b2559856f4cd95..b6e2eddeaf7e559589ce41ac41e88f9bd71c5a08:/include/wx/fontenum.h?ds=sidebyside

diff --git a/include/wx/fontenum.h b/include/wx/fontenum.h
index 2412f25c46..6da6a74784 100644
--- a/include/wx/fontenum.h
+++ b/include/wx/fontenum.h
@@ -13,7 +13,7 @@
 #ifndef _WX_FONTENUM_H_
 #define _WX_FONTENUM_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "fontenum.h"
 #endif