]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/notebook/notebook.h
Test both ChangeSelection() and SetSelection() in notebook sample.
[wxWidgets.git] / samples / notebook / notebook.h
index bd3146ecaaddb4f10a3151ad5352c28bc364fc91..e92a039bc42451d46cf7471c5460c09e10daf694 100644 (file)
@@ -49,7 +49,8 @@ public:
     void OnDeleteCurPage(wxCommandEvent& event);
     void OnDeleteLastPage(wxCommandEvent& event);
     void OnNextPage(wxCommandEvent& event);
-    void OnGoHome(wxCommandEvent &event);
+    void OnChangeSelection(wxCommandEvent &event);
+    void OnSetSelection(wxCommandEvent &event);
 
     void OnAddSubPage(wxCommandEvent& event);
     void OnAddPageBefore(wxCommandEvent& event);
@@ -150,7 +151,8 @@ enum ID_COMMANDS
     ID_NEXT_PAGE,
     ID_ADD_PAGE_BEFORE,
     ID_ADD_SUB_PAGE,
-    ID_GO_HOME,
+    ID_CHANGE_SELECTION,
+    ID_SET_SELECTION,
 
 #if wxUSE_HELP
     ID_CONTEXT_HELP,