X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1550e40204f99b4d813ac29b9a590935772803ed..c4e2838090992384911a6a6aa44cac985d79a555:/samples/listctrl/listtest.h diff --git a/samples/listctrl/listtest.h b/samples/listctrl/listtest.h index a8e29bddf4..5cd5dabe86 100644 --- a/samples/listctrl/listtest.h +++ b/samples/listctrl/listtest.h @@ -48,8 +48,10 @@ public: void OnEndLabelEdit(wxListEvent& event); void OnDeleteItem(wxListEvent& event); void OnDeleteAllItems(wxListEvent& event); +#if WXWIN_COMPATIBILITY_2_4 void OnGetInfo(wxListEvent& event); void OnSetInfo(wxListEvent& event); +#endif void OnSelected(wxListEvent& event); void OnDeselected(wxListEvent& event); void OnListKeyDown(wxListEvent& event); @@ -113,6 +115,7 @@ protected: void OnShowSelInfo(wxCommandEvent& event); void OnFreeze(wxCommandEvent& event); void OnThaw(wxCommandEvent& event); + void OnToggleLines(wxCommandEvent& event); void OnUpdateShowColInfo(wxUpdateUIEvent& event); void OnUpdateToggleMultiSel(wxUpdateUIEvent& event); @@ -176,6 +179,7 @@ enum LIST_FOCUS_LAST, LIST_FREEZE, LIST_THAW, + LIST_TOGGLE_LINES, LIST_CTRL = 1000 };