]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_text.cpp
reverted Robert's over-optimisation, correct fix coming soon
[wxWidgets.git] / src / xrc / xh_text.cpp
index 19bbd601c8501150a3fa8db74d4013a5a354af95..745189008dec2f598a113873fa6f2e1eddaf6e7f 100644 (file)
@@ -19,6 +19,8 @@
     #pragma hdrstop
 #endif
 
+#if wxUSE_XRC
+
 #include "wx/xrc/xh_text.h"
 #include "wx/textctrl.h"
 
@@ -68,3 +70,5 @@ bool wxTextCtrlXmlHandler::CanHandle(wxXmlNode *node)
 {
     return IsOfClass(node, wxT("wxTextCtrl"));
 }
+
+#endif // wxUSE_XRC