X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e96bbb453c4065b2219cbd606a95f069ab04746c..c8058a09e5147657342e02e50cf471d7b751abc1:/src/common/listctrlcmn.cpp diff --git a/src/common/listctrlcmn.cpp b/src/common/listctrlcmn.cpp index 88fdb5767b..41f5f553cb 100644 --- a/src/common/listctrlcmn.cpp +++ b/src/common/listctrlcmn.cpp @@ -18,8 +18,13 @@ // 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) @@ -27,10 +32,6 @@ DEFINE_EVENT_TYPE(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT) DEFINE_EVENT_TYPE(wxEVT_COMMAND_LIST_END_LABEL_EDIT) DEFINE_EVENT_TYPE(wxEVT_COMMAND_LIST_DELETE_ITEM) DEFINE_EVENT_TYPE(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS) -#if WXWIN_COMPATIBILITY_2_4 -DEFINE_EVENT_TYPE(wxEVT_COMMAND_LIST_GET_INFO) -DEFINE_EVENT_TYPE(wxEVT_COMMAND_LIST_SET_INFO) -#endif DEFINE_EVENT_TYPE(wxEVT_COMMAND_LIST_ITEM_SELECTED) DEFINE_EVENT_TYPE(wxEVT_COMMAND_LIST_ITEM_DESELECTED) DEFINE_EVENT_TYPE(wxEVT_COMMAND_LIST_KEY_DOWN) @@ -46,3 +47,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