]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/scrthumb.h
added wxStaticCast, moved wxConstCast from wx/object.h to wx/defs.h for consistency
[wxWidgets.git] / include / wx / univ / scrthumb.h
index 1e4fbf4874a1d3fb94f918cdf23f2b63535aaee7..c8b0eb255a4011dea557cc115ec1d1dd65b2d54c 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_UNIV_SCRTHUMB_H_
 #define _WX_UNIV_SCRTHUMB_H_
 
 #ifndef _WX_UNIV_SCRTHUMB_H_
 #define _WX_UNIV_SCRTHUMB_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "univscrthumb.h"
 #endif
 
     #pragma interface "univscrthumb.h"
 #endif