X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/30dc34551bc893d879bb5e3a6969354066445fc9..8d0a7b563acf4bd7e75824ba2076a7ab4d81a650:/include/wx/xrc/xh_notbk.h

diff --git a/include/wx/xrc/xh_notbk.h b/include/wx/xrc/xh_notbk.h
index 2c2bf35fd5..e6fe422540 100644
--- a/include/wx/xrc/xh_notbk.h
+++ b/include/wx/xrc/xh_notbk.h
@@ -10,7 +10,7 @@
 #ifndef _WX_XH_NOTBK_H_
 #define _WX_XH_NOTBK_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "xh_notbk.h"
 #endif