- MyFrame(wxFrame* parent, const wxWindowID id, const wxString& title,
- const wxPoint& pos, const wxSize& size, const long windowStyle = wxDEFAULT_FRAME_STYLE);
-
- void OnOK(wxCommandEvent& event);
- void OnCloseWindow(wxCloseEvent& event);
- void OnAddPage(wxCommandEvent& event);
- void OnInsertPage(wxCommandEvent& event);
- void OnNextPage(wxCommandEvent& event);
- void OnDeletePage(wxCommandEvent& event);
+ MyFrame(const wxString& title, const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize, long style = wxDEFAULT_FRAME_STYLE);
+
+ virtual ~MyFrame();
+
+ // Recreates the notebook with the same pages, but with possibly
+ // a different orientation and optionally with images.
+ void ReInitNotebook();
+
+ void OnCheckOrRadioBox(wxCommandEvent& event);
+
+ void OnButtonAddPage(wxCommandEvent& event);
+ void OnButtonInsertPage(wxCommandEvent& event);
+ void OnButtonDeleteCurPage(wxCommandEvent& event);
+ void OnButtonDeleteLastPage(wxCommandEvent& event);
+ void OnButtonNextPage(wxCommandEvent& event);
+ void OnButtonExit(wxCommandEvent& event);
+
+ void OnNotebook(wxNotebookEvent& event);
+
+ void OnUpdateUIBtnDeleteCurPage(wxUpdateUIEvent& event);
+ void OnUpdateUIBtnDeleteLastPage(wxUpdateUIEvent& event);
+