]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_unkwn.cpp
fix typo
[wxWidgets.git] / src / xrc / xh_unkwn.cpp
index 84c0158ff15b898013a42b1ed0d6b08ff8ac8976..f9b56480367f442c0afeaa1db5e74ceabdb6e15e 100644 (file)
@@ -19,6 +19,8 @@
     #pragma hdrstop
 #endif
 
     #pragma hdrstop
 #endif
 
+#if wxUSE_XRC
+
 #include "wx/xrc/xh_unkwn.h"
 #include "wx/window.h"
 #include "wx/log.h"
 #include "wx/xrc/xh_unkwn.h"
 #include "wx/window.h"
 #include "wx/log.h"
@@ -106,3 +108,4 @@ bool wxUnknownWidgetXmlHandler::CanHandle(wxXmlNode *node)
     return IsOfClass(node, wxT("unknown"));
 }
 
     return IsOfClass(node, wxT("unknown"));
 }
 
+#endif // wxUSE_XRC