X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5708ae18f2c9b164713918405a6a738ca5538550..e0dec8753abaf97e006ea1185bfb6775b28df0a8:/samples/treectrl/treetest.h?ds=sidebyside diff --git a/samples/treectrl/treetest.h b/samples/treectrl/treetest.h index 645e0d0668..8ea3334298 100644 --- a/samples/treectrl/treetest.h +++ b/samples/treectrl/treetest.h @@ -6,7 +6,7 @@ // Created: 04/01/98 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #define USE_GENERIC_TREECTRL 0 @@ -272,6 +272,7 @@ public: { DoShowRelativeItem(&wxTreeCtrl::GetNextSibling, "next sibling"); } void OnScrollTo(wxCommandEvent& event); + void OnSelectLast(wxCommandEvent& event); void OnIdle(wxIdleEvent& event); void OnSize(wxSizeEvent& event); @@ -368,5 +369,6 @@ enum TreeTest_ShowPrevSibling, TreeTest_ShowNextSibling, TreeTest_ScrollTo, + TreeTest_SelectLast, TreeTest_Ctrl = 1000 };