]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/laywin.cpp
Fix building wxSTC as a DLL using MinGW GCC 3.x.
[wxWidgets.git] / src / generic / laywin.cpp
index e32bb52e57b1061175021b667dd90d47da047fe1..738e819a0d3c56adc586995ceb81f318d4405c9b 100644 (file)
@@ -12,7 +12,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "laywin.h"
 #endif