]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mgl/gdiobj.h
removed const operator[]s (should fix 1162115)
[wxWidgets.git] / include / wx / mgl / gdiobj.h
index 228f5508b7d17c104926fd037bf25778c823af7b..d148b14306f4354925a60e9ec5ee6bdb32b8fd4d 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_GDIOBJ_H_
 #define _WX_GDIOBJ_H_
 
 #ifndef _WX_GDIOBJ_H_
 #define _WX_GDIOBJ_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "gdiobj.h"
 #endif
 
     #pragma interface "gdiobj.h"
 #endif