X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0b4d4194a26948f4681701ce4b99ac9c665f104e..00a395425ca9bc2af88f24d56324779c726fba94:/samples/notebook/test.h diff --git a/samples/notebook/test.h b/samples/notebook/test.h index 719948f708..f9f482ecf8 100644 --- a/samples/notebook/test.h +++ b/samples/notebook/test.h @@ -20,7 +20,7 @@ public: wxButton* m_okButton; wxButton* m_cancelButton; - wxButton* m_helpButton; + wxButton* m_addPageButton; }; DECLARE_APP(MyApp) @@ -49,6 +49,8 @@ public: void OnOK(wxCommandEvent& event); void OnCloseWindow(wxCloseEvent& event); + void OnAddPage(wxCommandEvent& event); + void OnDeletePage(wxCommandEvent& event); void OnSize(wxSizeEvent& event); void Init(void); protected: @@ -76,4 +78,6 @@ DECLARE_EVENT_TABLE() #define TEST_TAB_AARDVARK 12 #define ID_NOTEBOOK 1000 +#define ID_ADD_PAGE 1200 +#define ID_DELETE_PAGE 1201