Tyro/TyroApp.cpp

33 lines
673 B
C++
Raw Normal View History

2015-03-30 14:50:10 -04:00
/***************************************************************
* Name: TyroApp.cpp
* Purpose: Code for Application Class
* Author: Timothy J Warren (tim@timshomepage.net)
* Created: 2015-03-30
* Copyright: Timothy J Warren (https://timshomepage.net)
* License:
**************************************************************/
#ifdef WX_PRECOMP
#include "wx_pch.h"
#endif
#include "TyroApp.h"
#include "TyroMain.h"
IMPLEMENT_APP(TyroApp);
bool TyroApp::OnInit()
{
2015-03-31 10:19:34 -04:00
TyroFrame* frame = new TyroFrame(0L, _("Tyro"));
2015-03-30 14:50:10 -04:00
2015-03-30 16:01:24 -04:00
frame->Show(true);
2015-03-30 14:50:10 -04:00
return true;
}
2015-03-30 16:01:24 -04:00
int TyroApp::OnExit(wxCommandEvent &WXUNUSED(event))
{
close(true);
return 1;
}