]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_tree.cpp
Close tree edit even if the change is vetoed to be consistent with MSW [patch 1110252]
[wxWidgets.git] / src / xrc / xh_tree.cpp
index 5c892ebc7766054055fed4cc0e68b973024725ea..d9ee3ad6d6cf1e655ef29e3d49dc4e14d9838fb9 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_tree.h"
 #endif
 
 #pragma implementation "xh_tree.h"
 #endif