Mercurial > mercurial > hgweb_iklist.hg.cgi
diff src/main.cpp @ 0:520044113ef0 draft
beta release.
author | pyon <pyon@macmini> |
---|---|
date | Sat, 21 Aug 2021 13:03:13 +0900 |
parents | |
children | c0f76f8e67fa |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/main.cpp Sat Aug 21 13:03:13 2021 +0900 @@ -0,0 +1,33 @@ +// Filename : main.cpp +// Last Change: 2021-08-18 水 15:48:13. +// +#include "main.h" +#include "iklist.h" + +IMPLEMENT_APP(MyApp) + +IMPLEMENT_CLASS(MyApp, wxApp) + +MyApp::MyApp() +{ +} +MyApp::~MyApp() +{ +} + +bool MyApp::OnInit() +{ + if (!wxApp::OnInit()) return false; + + MainFrame *frame = new MainFrame(NULL, wxID_ANY, wxT("大曲仙北医療・介護事業所一覧 - 2021.07版"), wxDefaultPosition, wxSize(800, 600), wxDEFAULT_FRAME_STYLE); + frame->Show(true); + frame->Raise(); + + return true; +} + +int MyApp::OnExit() +{ + return 0; +} +