]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xmlrsall.cpp
Apply choice patch for proper handling of clearing
[wxWidgets.git] / src / xrc / xmlrsall.cpp
index 44c417dc513e9c0217108b56317a217b841a710f..bf2eb997348da36d54efab3878fe7a2d0557bcca 100644 (file)
@@ -20,6 +20,8 @@
     #pragma hdrstop
 #endif
 
+#if wxUSE_XRC
+
 #include "wx/xrc/xmlres.h"
 #include "wx/xrc/xh_all.h"
 
@@ -106,3 +108,5 @@ void wxXmlResource::InitAllHandlers()
     AddHandler(new wxStatusBarXmlHandler);
 #endif
 }
+
+#endif // wxUSE_XRC