X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/93daabe060101c5609e32fe667b411cd14a705f2..cd25ce61b5a469dca8848ba955c2e42be741a1c6:/samples/listctrl/listtest.h diff --git a/samples/listctrl/listtest.h b/samples/listctrl/listtest.h index abc2db98bf..18066ea992 100644 --- a/samples/listctrl/listtest.h +++ b/samples/listctrl/listtest.h @@ -40,6 +40,8 @@ public: : wxListCtrl(parent, id, pos, size, style), m_attr(*wxBLUE, *wxLIGHT_GREY, wxNullFont) { + m_updated = -1; + #ifdef __POCKETPC__ EnableContextMenu(); #endif @@ -88,6 +90,9 @@ private: wxListItemAttr m_attr; + long m_updated; + + DECLARE_NO_COPY_CLASS(MyListCtrl) DECLARE_EVENT_TABLE() }; @@ -115,6 +120,7 @@ protected: void OnVirtualView(wxCommandEvent& event); void OnSmallVirtualView(wxCommandEvent& event); + void OnGoTo(wxCommandEvent& event); void OnFocusLast(wxCommandEvent& event); void OnToggleFirstSel(wxCommandEvent& event); void OnDeselectAll(wxCommandEvent& event); @@ -196,6 +202,7 @@ enum LIST_TOGGLE_FIRST, LIST_SHOW_COL_INFO, LIST_SHOW_SEL_INFO, + LIST_GOTO, LIST_FOCUS_LAST, LIST_FREEZE, LIST_THAW,