]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_listc.cpp
Use string.h instead of memory.h, since some system don't have memory.h and
[wxWidgets.git] / src / xrc / xh_listc.cpp
index 0e033771100f3bcba7864d8ed8d9295cca719b0b..64eec4e746dcb1153b718e24491d5d69dade7adc 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        xh_listc.cpp
+// Name:        src/xrc/xh_listc.cpp
 // Purpose:     XRC resource for wxListCtrl
 // Author:      Brian Gavin
 // Created:     2000/09/09
     #pragma hdrstop
 #endif
 
-#if wxUSE_XRC
+#if wxUSE_XRC && wxUSE_LISTCTRL
 
-#include "wx/textctrl.h"
 #include "wx/xrc/xh_listc.h"
+
+#ifndef WX_PRECOMP
+    #include "wx/textctrl.h"
+#endif
+
 #include "wx/listctrl.h"
 
 
@@ -70,4 +74,4 @@ bool wxListCtrlXmlHandler::CanHandle(wxXmlNode *node)
     return IsOfClass(node, wxT("wxListCtrl"));
 }
 
-#endif // wxUSE_XRC
+#endif // wxUSE_XRC && wxUSE_LISTCTRL