]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/scrarrow.h
avoid a bug in Carbon headers
[wxWidgets.git] / include / wx / univ / scrarrow.h
index 043dfad83725941c6cd25408a354142fa4ebe439..c1d355fd503e06fb494644805b62338cdac5e322 100644 (file)
@@ -12,8 +12,8 @@
 #ifndef _WX_UNIV_SCRARROW_H_
 #define _WX_UNIV_SCRARROW_H_
 
 #ifndef _WX_UNIV_SCRARROW_H_
 #define _WX_UNIV_SCRARROW_H_
 
-#ifdef __GNUG__
-    #pragma interface "scrarrow.h"
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
+    #pragma interface "univscrarrow.h"
 #endif
 
 // ----------------------------------------------------------------------------
 #endif
 
 // ----------------------------------------------------------------------------