/*************************************************************** * Name: Main.h * Purpose: Defines Application Frame * Author: Timothy J Warren (tim@timshomepage.net) * Created: 2015-03-30 * Copyright: Timothy J Warren (https://timshomepage.net) * License: **************************************************************/ #ifndef TYROMAIN_H #define TYROMAIN_H #ifdef WX_PRECOMP #include "wx_pch.h" #endif #ifndef WX_PRECOMP #include #endif #include "TyroApp.h" #include "DocFrame.h" class MainFrame: public wxFrame { public: MainFrame(wxFrame *frame, const wxString& title); ~MainFrame(); private: enum { idMenuQuit = 1000, idMenuAbout }; void SetupMenu(); void SetupToolbar(); void SetupStatusBar(); void OnMenuFileOpen(wxCommandEvent &event); void OnMenuFileSave(wxCommandEvent &event); void OnClose(wxCloseEvent &event); void OnQuit(wxCommandEvent &event); void OnAbout(wxCommandEvent &event); wxAuiNotebook* CreateNotebook(); DECLARE_EVENT_TABLE() }; #endif // TYROMAIN_H