X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/614391dc087ca70b145e07c442815217f8aa3162..18a1f588e7f9c71b4941da549a9ff4370675818c:/samples/listctrl/listtest.h diff --git a/samples/listctrl/listtest.h b/samples/listctrl/listtest.h index 005fb3f0e9..b3464b74db 100644 --- a/samples/listctrl/listtest.h +++ b/samples/listctrl/listtest.h @@ -33,6 +33,10 @@ public: 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); @@ -50,6 +54,8 @@ public: 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; @@ -84,6 +90,7 @@ public: void OnSmallIconTextView(wxCommandEvent& event); void OnVirtualView(wxCommandEvent& event); + void OnFocusLast(wxCommandEvent& event); void OnToggleFirstSel(wxCommandEvent& event); void OnDeselectAll(wxCommandEvent& event); void OnSelectAll(wxCommandEvent& event); @@ -144,6 +151,7 @@ enum LIST_TOGGLE_FIRST, LIST_SHOW_COL_INFO, LIST_SHOW_SEL_INFO, + LIST_FOCUS_LAST, LIST_CTRL = 1000 };