Mercurial > mercurial > hgweb_kaigo.hg.cgi
view horori/eraline/src/main.cpp @ 4:ff7a3c254956 draft
new: superFC
author | pyon <pyon@macmini> |
---|---|
date | Tue, 15 Jun 2021 06:19:45 +0900 |
parents | aaaa401818a1 |
children |
line wrap: on
line source
// Filename : main.cpp // Last Change: 2020-08-12 水 15:01:57. // #include "main.h" #include "geraline.h" IMPLEMENT_APP(MyApp) IMPLEMENT_CLASS(MyApp, wxApp) MyApp::MyApp() { } MyApp::~MyApp() { } bool MyApp::OnInit() { if (!wxApp::OnInit()) return false; wxImage::AddHandler(new wxJPEGHandler); wxImage::AddHandler(new wxTIFFHandler); EralineFrame *frame = new EralineFrame(NULL, wxID_ANY, wxT("Erase Line -"), wxDefaultPosition, wxSize(1900, 1140), wxDEFAULT_FRAME_STYLE); frame->Show(true); frame->Raise(); return true; } int MyApp::OnExit() { return 0; }