]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/reparent.cpp
Crash fix under VC++
[wxWidgets.git] / src / x11 / reparent.cpp
index e8ce0ba30fe2f781cd178ac022d84f308b0e89a3..7e76d2334d040a052f4eb4aa3c4ee2bd4a63f447 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "reparent.h"
 #endif
 
     #pragma implementation "reparent.h"
 #endif