]> git.saurik.com Git - wxWidgets.git/blame - src/common/listctrlcmn.cpp
corrected date in header; removed extra wx/wxprec.h inclusion
[wxWidgets.git] / src / common / listctrlcmn.cpp
CommitLineData
e96bbb45
KO
1////////////////////////////////////////////////////////////////////////////////
2// Name: src/common/listctrlcmn.cpp
3// Purpose: Common defines for wxListCtrl and wxListCtrl-based classes.
4// Author: Kevin Ollivier
5// Created: 09/15/06
6// RCS-ID: $Id$
7// Copyright: (c) Kevin Ollivier
8// Licence: wxWindows licence
9////////////////////////////////////////////////////////////////////////////////
10
11// =============================================================================
12// declarations
13// =============================================================================
14
15// -----------------------------------------------------------------------------
16// headers
17// -----------------------------------------------------------------------------
18
19// For compilers that support precompilation, includes "wx.h".
20#include "wx/wxprec.h"
e409b62a
PC
21
22#if wxUSE_LISTCTRL
23
e96bbb45
KO
24#include "wx/listctrl.h"
25
e409b62a
PC
26const wxChar wxListCtrlNameStr[] = wxT("listCtrl");
27
e96bbb45
KO
28// ListCtrl events
29DEFINE_EVENT_TYPE(wxEVT_COMMAND_LIST_BEGIN_DRAG)
30DEFINE_EVENT_TYPE(wxEVT_COMMAND_LIST_BEGIN_RDRAG)
31DEFINE_EVENT_TYPE(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT)
32DEFINE_EVENT_TYPE(wxEVT_COMMAND_LIST_END_LABEL_EDIT)
33DEFINE_EVENT_TYPE(wxEVT_COMMAND_LIST_DELETE_ITEM)
34DEFINE_EVENT_TYPE(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS)
35#if WXWIN_COMPATIBILITY_2_4
36DEFINE_EVENT_TYPE(wxEVT_COMMAND_LIST_GET_INFO)
37DEFINE_EVENT_TYPE(wxEVT_COMMAND_LIST_SET_INFO)
38#endif
39DEFINE_EVENT_TYPE(wxEVT_COMMAND_LIST_ITEM_SELECTED)
40DEFINE_EVENT_TYPE(wxEVT_COMMAND_LIST_ITEM_DESELECTED)
41DEFINE_EVENT_TYPE(wxEVT_COMMAND_LIST_KEY_DOWN)
42DEFINE_EVENT_TYPE(wxEVT_COMMAND_LIST_INSERT_ITEM)
43DEFINE_EVENT_TYPE(wxEVT_COMMAND_LIST_COL_CLICK)
44DEFINE_EVENT_TYPE(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK)
45DEFINE_EVENT_TYPE(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG)
46DEFINE_EVENT_TYPE(wxEVT_COMMAND_LIST_COL_DRAGGING)
47DEFINE_EVENT_TYPE(wxEVT_COMMAND_LIST_COL_END_DRAG)
48DEFINE_EVENT_TYPE(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK)
49DEFINE_EVENT_TYPE(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK)
50DEFINE_EVENT_TYPE(wxEVT_COMMAND_LIST_ITEM_ACTIVATED)
51DEFINE_EVENT_TYPE(wxEVT_COMMAND_LIST_ITEM_FOCUSED)
52DEFINE_EVENT_TYPE(wxEVT_COMMAND_LIST_CACHE_HINT)
53
e409b62a 54#endif // wxUSE_LISTCTRL