- MyListCtrl(wxWindow *parent, const wxWindowID id, const wxPoint& pos,
- const wxSize& size, long style):
- wxListCtrl(parent, id, pos, size, style)
- {
- }
-
- void OnBeginDrag(wxListEvent& event);
- void OnBeginRDrag(wxListEvent& event);
- void OnBeginLabelEdit(wxListEvent& event);
- void OnEndLabelEdit(wxListEvent& event);
- void OnDeleteItem(wxListEvent& event);
- void OnGetInfo(wxListEvent& event);
- void OnSetInfo(wxListEvent& event);
- void OnSelected(wxListEvent& event);
- void OnDeselected(wxListEvent& event);
- void OnListKeyDown(wxListEvent& event);
- void OnActivated(wxListEvent& event);
+ MyListCtrl(wxWindow *parent,
+ const wxWindowID id,
+ const wxPoint& pos,
+ const wxSize& size,
+ long style)
+ : wxListCtrl(parent, id, pos, size, style),
+ m_attr(*wxCYAN, *wxLIGHT_GREY, wxNullFont)
+ {
+ }
+
+ // add one item to the listctrl in report mode
+ void InsertItemInReportView(int i);
+
+ void OnColClick(wxListEvent& event);
+ void OnColRightClick(wxListEvent& event);
+ void OnColBeginDrag(wxListEvent& event);
+ void OnColDragging(wxListEvent& event);
+ void OnColEndDrag(wxListEvent& event);
+ void OnBeginDrag(wxListEvent& event);
+ void OnBeginRDrag(wxListEvent& event);
+ void OnBeginLabelEdit(wxListEvent& event);
+ void OnEndLabelEdit(wxListEvent& event);
+ void OnDeleteItem(wxListEvent& event);
+ void OnDeleteAllItems(wxListEvent& event);
+ void OnGetInfo(wxListEvent& event);
+ void OnSetInfo(wxListEvent& event);
+ void OnSelected(wxListEvent& event);
+ void OnDeselected(wxListEvent& event);
+ void OnListKeyDown(wxListEvent& event);
+ void OnActivated(wxListEvent& event);
+ void OnCacheHint(wxListEvent& event);