]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_scrol.cpp
reverted Robert's over-optimisation, correct fix coming soon
[wxWidgets.git] / src / xrc / xh_scrol.cpp
index f1c6fcba19d446772e6b988d8f8ca164819c604c..dd330bb78b0d25296faded9d38afdec399fa96af 100644 (file)
@@ -19,6 +19,8 @@
     #pragma hdrstop
 #endif
 
+#if wxUSE_XRC
+
 #include "wx/xrc/xh_scrol.h"
 #include "wx/scrolbar.h"
 
@@ -58,3 +60,5 @@ bool wxScrollBarXmlHandler::CanHandle(wxXmlNode *node)
 {
     return IsOfClass(node, wxT("wxScrollBar"));
 }
+
+#endif // wxUSE_XRC