]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_stbox.cpp
reverted Robert's over-optimisation, correct fix coming soon
[wxWidgets.git] / src / xrc / xh_stbox.cpp
index 9a88572d5be1296b0415e4bd04b70987463a9da2..93f21b42d2d022c88ce4217962750cbeb54d835f 100644 (file)
@@ -19,6 +19,8 @@
     #pragma hdrstop
 #endif
 
+#if wxUSE_XRC
+
 #include "wx/xrc/xh_stbox.h"
 #include "wx/statbox.h"
 
@@ -50,3 +52,5 @@ bool wxStaticBoxXmlHandler::CanHandle(wxXmlNode *node)
 {
     return IsOfClass(node, wxT("wxStaticBox"));
 }
+
+#endif // wxUSE_XRC