Tyro/TyroMain.h
2015-03-30 16:01:24 -04:00

39 lines
895 B
C++

/***************************************************************
* 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 <wx/string.h>
#include "TyroApp.h"
class TyroFrame: public wxFrame
{
public:
TyroFrame(wxFrame *frame, const wxString& title);
~TyroFrame();
private:
enum
{
idMenuQuit = 1000,
idMenuAbout
};
void OnClose(wxCloseEvent& event);
void OnQuit(wxCommandEvent& event);
void OnAbout(wxCommandEvent& event);
DECLARE_EVENT_TABLE()
};
#endif // TYROMAIN_H