X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3614a8dc02363a8c5a3b5eeff8490a9e55b4ac1f..5e23e2d59a25a7eae5ca16958877be59f7eeb33b:/samples/listctrl/listtest.h diff --git a/samples/listctrl/listtest.h b/samples/listctrl/listtest.h index 5cd5dabe86..90359d0030 100644 --- a/samples/listctrl/listtest.h +++ b/samples/listctrl/listtest.h @@ -98,6 +98,7 @@ protected: void OnSmallIconView(wxCommandEvent& event); void OnSmallIconTextView(wxCommandEvent& event); void OnVirtualView(wxCommandEvent& event); + void OnSmallVirtualView(wxCommandEvent& event); void OnFocusLast(wxCommandEvent& event); void OnToggleFirstSel(wxCommandEvent& event); @@ -144,6 +145,8 @@ private: wxLog *m_logOld; + bool m_smallVirtual; + DECLARE_NO_COPY_CLASS(MyFrame) DECLARE_EVENT_TABLE() }; @@ -152,16 +155,17 @@ private: // IDs for the menu commands enum { - LIST_ABOUT, - LIST_QUIT, + LIST_ABOUT = wxID_ABOUT, + LIST_QUIT = wxID_EXIT, - LIST_LIST_VIEW, + LIST_LIST_VIEW = wxID_HIGHEST, LIST_ICON_VIEW, LIST_ICON_TEXT_VIEW, LIST_SMALL_ICON_VIEW, LIST_SMALL_ICON_TEXT_VIEW, LIST_REPORT_VIEW, LIST_VIRTUAL_VIEW, + LIST_SMALL_VIRTUAL_VIEW, LIST_DESELECT_ALL, LIST_SELECT_ALL,