X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/457814b5aa2ee5c83abc65a6aee2a3ebcb1af34f..8ce63e9d6604178f8c13e6a0e9bb33c3800a0c28:/samples/listctrl/listtest.h diff --git a/samples/listctrl/listtest.h b/samples/listctrl/listtest.h index 4126bbbab2..79063942a4 100644 --- a/samples/listctrl/listtest.h +++ b/samples/listctrl/listtest.h @@ -36,7 +36,8 @@ public: void OnSetInfo(wxListEvent& event); void OnSelected(wxListEvent& event); void OnDeselected(wxListEvent& event); - void OnKeyDown(wxListEvent& event); + void OnListKeyDown(wxListEvent& event); + void OnActivated(wxListEvent& event); DECLARE_EVENT_TABLE() }; @@ -59,7 +60,8 @@ class MyFrame: public wxFrame void OnIconTextView(wxCommandEvent& event); void OnSmallIconView(wxCommandEvent& event); void OnSmallIconTextView(wxCommandEvent& event); - bool OnClose(void) { return TRUE; } + void OnDeselectAll(wxCommandEvent& event); + void OnSelectAll(wxCommandEvent& event); DECLARE_EVENT_TABLE() }; @@ -73,6 +75,8 @@ class MyFrame: public wxFrame #define LIST_SMALL_ICON_VIEW 5 #define LIST_SMALL_ICON_TEXT_VIEW 6 #define LIST_REPORT_VIEW 7 +#define LIST_DESELECT_ALL 8 +#define LIST_SELECT_ALL 9 #define LIST_ABOUT 102 #define LIST_CTRL 1000