]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/scrthumb.h
avoid a bug in Carbon headers
[wxWidgets.git] / include / wx / univ / scrthumb.h
index 19811cde79431e4ec63c52caed9c99e001126b25..c8b0eb255a4011dea557cc115ec1d1dd65b2d54c 100644 (file)
@@ -12,8 +12,8 @@
 #ifndef _WX_UNIV_SCRTHUMB_H_
 #define _WX_UNIV_SCRTHUMB_H_
 
-#ifdef __GNUG__
-    #pragma interface "scrthumb.h"
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
+    #pragma interface "univscrthumb.h"
 #endif
 
 // ----------------------------------------------------------------------------