X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e96bbb453c4065b2219cbd606a95f069ab04746c..8ef9a526cea6ecc3853f327a76da14561b36f82a:/src/common/listctrlcmn.cpp diff --git a/src/common/listctrlcmn.cpp b/src/common/listctrlcmn.cpp index 88fdb5767b..22b5661be6 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 char wxListCtrlNameStr[] = "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