const wxSize& size,
long style)
: wxListCtrl(parent, id, pos, size, style),
- m_attr(*wxCYAN, *wxLIGHT_GREY, wxNullFont)
+ m_attr(*wxBLUE, *wxLIGHT_GREY, wxNullFont)
{
}
void OnDeselected(wxListEvent& event);
void OnListKeyDown(wxListEvent& event);
void OnActivated(wxListEvent& event);
+ void OnFocused(wxListEvent& event);
void OnCacheHint(wxListEvent& event);
void OnChar(wxKeyEvent& event);
private:
+ void SetColumnImage(int col, int image);
+
void LogEvent(const wxListEvent& event, const wxChar *eventName);
virtual wxString OnGetItemText(long item, long column) const;
void OnDeselectAll(wxCommandEvent& event);
void OnSelectAll(wxCommandEvent& event);
void OnAdd(wxCommandEvent& event);
+ void OnEdit(wxCommandEvent& event);
void OnDelete(wxCommandEvent& event);
void OnDeleteAll(wxCommandEvent& event);
void OnSort(wxCommandEvent& event);
void OnToggleMultiSel(wxCommandEvent& event);
void OnShowColInfo(wxCommandEvent& event);
void OnShowSelInfo(wxCommandEvent& event);
+ void OnFreeze(wxCommandEvent& event);
+ void OnThaw(wxCommandEvent& event);
void OnUpdateShowColInfo(wxUpdateUIEvent& event);
LIST_DELETE_ALL,
LIST_DELETE,
LIST_ADD,
+ LIST_EDIT,
LIST_SORT,
LIST_SET_FG_COL,
LIST_SET_BG_COL,
LIST_SHOW_COL_INFO,
LIST_SHOW_SEL_INFO,
LIST_FOCUS_LAST,
+ LIST_FREEZE,
+ LIST_THAW,
LIST_CTRL = 1000
};