X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/371a5b4e62eb415107e045588f614fa49e866e78..ca9fb418d278d68df3529b04aea268600fb0080a:/include/wx/univ/colschem.h?ds=sidebyside

diff --git a/include/wx/univ/colschem.h b/include/wx/univ/colschem.h
index e7d24d2265..32e35af467 100644
--- a/include/wx/univ/colschem.h
+++ b/include/wx/univ/colschem.h
@@ -12,7 +12,7 @@
 #ifndef _WX_UNIV_COLSCHEM_H_
 #define _WX_UNIV_COLSCHEM_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "colschem.h"
 #endif