]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/treectrl/treetest.h
Fix return value of wxGenericTreeCtrl::FindItem().
[wxWidgets.git] / samples / treectrl / treetest.h
index 645e0d0668ef506318dcd336e577fbee3f1b6e22..8ea3334298c25db3915e603e08663aa0e1d48cc3 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     04/01/98
 // RCS-ID:      $Id$
 // Copyright:   (c) Julian Smart
 // Created:     04/01/98
 // RCS-ID:      $Id$
 // Copyright:   (c) Julian Smart
-// Licence:     wxWindows license
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #define USE_GENERIC_TREECTRL 0
 /////////////////////////////////////////////////////////////////////////////
 
 #define USE_GENERIC_TREECTRL 0
@@ -272,6 +272,7 @@ public:
         { DoShowRelativeItem(&wxTreeCtrl::GetNextSibling, "next sibling"); }
 
     void OnScrollTo(wxCommandEvent& event);
         { DoShowRelativeItem(&wxTreeCtrl::GetNextSibling, "next sibling"); }
 
     void OnScrollTo(wxCommandEvent& event);
+    void OnSelectLast(wxCommandEvent& event);
 
     void OnIdle(wxIdleEvent& event);
     void OnSize(wxSizeEvent& event);
 
     void OnIdle(wxIdleEvent& event);
     void OnSize(wxSizeEvent& event);
@@ -368,5 +369,6 @@ enum
     TreeTest_ShowPrevSibling,
     TreeTest_ShowNextSibling,
     TreeTest_ScrollTo,
     TreeTest_ShowPrevSibling,
     TreeTest_ShowNextSibling,
     TreeTest_ScrollTo,
+    TreeTest_SelectLast,
     TreeTest_Ctrl = 1000
 };
     TreeTest_Ctrl = 1000
 };