]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/dc.h
Fix building wxSTC as a DLL using MinGW GCC 3.x.
[wxWidgets.git] / include / wx / x11 / dc.h
index f4e58fb5d990364e90f51aebc9ff302d493f27e2..40b107c80605fa879c51da9819d89f970f127789 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_DC_H_
 #define _WX_DC_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "dc.h"
 #endif