Tyro/TyroMain.h

40 lines
941 B
C
Raw Normal View History

2015-03-30 14:50:10 -04:00
/***************************************************************
* Name: TyroMain.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
#ifndef WX_PRECOMP
#include <wx/wx.h>
#endif
#include "TyroApp.h"
class TyroFrame: public wxFrame
{
public:
TyroFrame(wxFrame *frame, const wxString& title);
~TyroFrame();
private:
enum
{
idMenuQuit = 1000,
idMenuAbout
};
2015-03-31 14:22:10 -04:00
wxAuiManager m_mgr;
2015-03-30 14:50:10 -04:00
void OnClose(wxCloseEvent& event);
void OnQuit(wxCommandEvent& event);
void OnAbout(wxCommandEvent& event);
2015-03-31 10:19:34 -04:00
wxAuiNotebook* CreateNotebook();
2015-03-30 14:50:10 -04:00
DECLARE_EVENT_TABLE()
};
#endif // TYROMAIN_H