1 ////////////////////////////////////////////////////////////////////////////////
2 // Name: src/common/listctrlcmn.cpp
3 // Purpose: Common defines for wxListCtrl and wxListCtrl-based classes.
4 // Author: Kevin Ollivier
7 // Copyright: (c) Kevin Ollivier
8 // Licence: wxWindows licence
9 ////////////////////////////////////////////////////////////////////////////////
11 // =============================================================================
13 // =============================================================================
15 // -----------------------------------------------------------------------------
17 // -----------------------------------------------------------------------------
19 // For compilers that support precompilation, includes "wx.h".
20 #include "wx/wxprec.h"
28 #include "wx/listctrl.h"
30 const char wxListCtrlNameStr
[] = "listCtrl";
33 wxDEFINE_EVENT( wxEVT_COMMAND_LIST_BEGIN_DRAG
, wxListEvent
);
34 wxDEFINE_EVENT( wxEVT_COMMAND_LIST_BEGIN_RDRAG
, wxListEvent
);
35 wxDEFINE_EVENT( wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
, wxListEvent
);
36 wxDEFINE_EVENT( wxEVT_COMMAND_LIST_END_LABEL_EDIT
, wxListEvent
);
37 wxDEFINE_EVENT( wxEVT_COMMAND_LIST_DELETE_ITEM
, wxListEvent
);
38 wxDEFINE_EVENT( wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
, wxListEvent
);
39 wxDEFINE_EVENT( wxEVT_COMMAND_LIST_ITEM_SELECTED
, wxListEvent
);
40 wxDEFINE_EVENT( wxEVT_COMMAND_LIST_ITEM_DESELECTED
, wxListEvent
);
41 wxDEFINE_EVENT( wxEVT_COMMAND_LIST_KEY_DOWN
, wxListEvent
);
42 wxDEFINE_EVENT( wxEVT_COMMAND_LIST_INSERT_ITEM
, wxListEvent
);
43 wxDEFINE_EVENT( wxEVT_COMMAND_LIST_COL_CLICK
, wxListEvent
);
44 wxDEFINE_EVENT( wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
, wxListEvent
);
45 wxDEFINE_EVENT( wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
, wxListEvent
);
46 wxDEFINE_EVENT( wxEVT_COMMAND_LIST_COL_DRAGGING
, wxListEvent
);
47 wxDEFINE_EVENT( wxEVT_COMMAND_LIST_COL_END_DRAG
, wxListEvent
);
48 wxDEFINE_EVENT( wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
, wxListEvent
);
49 wxDEFINE_EVENT( wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
, wxListEvent
);
50 wxDEFINE_EVENT( wxEVT_COMMAND_LIST_ITEM_ACTIVATED
, wxListEvent
);
51 wxDEFINE_EVENT( wxEVT_COMMAND_LIST_ITEM_FOCUSED
, wxListEvent
);
52 wxDEFINE_EVENT( wxEVT_COMMAND_LIST_CACHE_HINT
, wxListEvent
);
54 #endif // wxUSE_LISTCTRL