]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_scwin.cpp
Really remove the droppings when there are no pages
[wxWidgets.git] / src / xrc / xh_scwin.cpp
index c68bb099bf7b4c153a3f1a507c4881bc7d045b4c..dababb288fed4c878ba31ec84756c3f208493f16 100644 (file)
@@ -8,7 +8,7 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "xh_scwin.h"
 #endif
 
@@ -19,7 +19,7 @@
     #pragma hdrstop
 #endif
 
-#if wxUSE_XML && wxUSE_XRC
+#if wxUSE_XRC
 
 #include "wx/xrc/xh_scwin.h"
 #include "wx/scrolwin.h"
@@ -62,4 +62,4 @@ bool wxScrolledWindowXmlHandler::CanHandle(wxXmlNode *node)
     return IsOfClass(node, wxT("wxScrolledWindow"));
 }
 
-#endif // wxUSE_XML && wxUSE_XRC
+#endif // wxUSE_XRC