X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d22699b5ebc820af126478d8ef5da4385cef940b..367e57ec9b921d7523c1ac3e9e3477850aaf3c66:/samples/notebook/test.h diff --git a/samples/notebook/test.h b/samples/notebook/test.h index 9cbcc2d0ff..6690464ae1 100644 --- a/samples/notebook/test.h +++ b/samples/notebook/test.h @@ -15,12 +15,13 @@ class MyApp: public wxApp { public: - bool OnInit(void); + bool OnInit(); void InitTabView(wxNotebook* notebook, wxPanel* window); wxButton* m_okButton; wxButton* m_cancelButton; - wxButton* m_addPageButton; + wxButton* m_addPageButton, *m_insertPageButton; + wxButton* m_nextPageButton; }; DECLARE_APP(MyApp) @@ -35,7 +36,7 @@ public: void OnOK(wxCommandEvent& event); void OnCloseWindow(wxCloseEvent& event); - void Init(void); + void Init(); protected: wxNotebook* m_notebook; @@ -54,6 +55,8 @@ public: void OnOK(wxCommandEvent& event); void OnCloseWindow(wxCloseEvent& event); void OnAddPage(wxCommandEvent& event); + void OnInsertPage(wxCommandEvent& event); + void OnNextPage(wxCommandEvent& event); void OnDeletePage(wxCommandEvent& event); void OnIdle(wxIdleEvent& event); @@ -88,4 +91,6 @@ protected: #define ID_NOTEBOOK 1000 #define ID_ADD_PAGE 1200 #define ID_DELETE_PAGE 1201 +#define ID_NEXT_PAGE 1202 +#define ID_INSERT_PAGE 1203