Mercurial > mercurial > hgweb_iklist.hg.cgi
comparison src/main.cpp @ 0:520044113ef0 draft
beta release.
| author | pyon <pyon@macmini> |
|---|---|
| date | Sat, 21 Aug 2021 13:03:13 +0900 |
| parents | |
| children | c0f76f8e67fa |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:520044113ef0 |
|---|---|
| 1 // Filename : main.cpp | |
| 2 // Last Change: 2021-08-18 水 15:48:13. | |
| 3 // | |
| 4 #include "main.h" | |
| 5 #include "iklist.h" | |
| 6 | |
| 7 IMPLEMENT_APP(MyApp) | |
| 8 | |
| 9 IMPLEMENT_CLASS(MyApp, wxApp) | |
| 10 | |
| 11 MyApp::MyApp() | |
| 12 { | |
| 13 } | |
| 14 MyApp::~MyApp() | |
| 15 { | |
| 16 } | |
| 17 | |
| 18 bool MyApp::OnInit() | |
| 19 { | |
| 20 if (!wxApp::OnInit()) return false; | |
| 21 | |
| 22 MainFrame *frame = new MainFrame(NULL, wxID_ANY, wxT("大曲仙北医療・介護事業所一覧 - 2021.07版"), wxDefaultPosition, wxSize(800, 600), wxDEFAULT_FRAME_STYLE); | |
| 23 frame->Show(true); | |
| 24 frame->Raise(); | |
| 25 | |
| 26 return true; | |
| 27 } | |
| 28 | |
| 29 int MyApp::OnExit() | |
| 30 { | |
| 31 return 0; | |
| 32 } | |
| 33 |
