]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_unkwn.cpp
reversed change of rev 1.127: this resulted in bug 1175461 while the original bug...
[wxWidgets.git] / src / xrc / xh_unkwn.cpp
index ee2aaaf8c2f78232a47cecafa86a9fd6a08b213b..0dae73bc63af57a3dc5d5b7289ff2cb4a68bf1bf 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_unkwn.h"
 #endif
 
@@ -19,7 +19,7 @@
     #pragma hdrstop
 #endif
 
-#if wxUSE_XML && wxUSE_XRC
+#if wxUSE_XRC
 
 #include "wx/xrc/xh_unkwn.h"
 #include "wx/window.h"