]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/listctrlcmn.cpp
fixing pattern phase bugs
[wxWidgets.git] / src / common / listctrlcmn.cpp
index 88fdb5767b454b1e7a870a5a73bec776bfa9df23..36387bcdc447cbbcd6f530dc1e6933218e096a2e 100644 (file)
 
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
+
+#if wxUSE_LISTCTRL
+
 #include "wx/listctrl.h"
 
+const wxChar wxListCtrlNameStr[] = wxT("listCtrl");
+
 // ListCtrl events
 DEFINE_EVENT_TYPE(wxEVT_COMMAND_LIST_BEGIN_DRAG)
 DEFINE_EVENT_TYPE(wxEVT_COMMAND_LIST_BEGIN_RDRAG)
@@ -46,3 +51,4 @@ DEFINE_EVENT_TYPE(wxEVT_COMMAND_LIST_ITEM_ACTIVATED)
 DEFINE_EVENT_TYPE(wxEVT_COMMAND_LIST_ITEM_FOCUSED)
 DEFINE_EVENT_TYPE(wxEVT_COMMAND_LIST_CACHE_HINT)
 
+#endif // wxUSE_LISTCTRL