Mercurial > mercurial > hgweb_iklist.hg.cgi
annotate src/main.cpp @ 2:c0f76f8e67fa draft v1.0
ver 1.0.0 release (add 2 items, time-limit@2022-09-30. & bug fix.)
| author | pyon <pyon@macmini> |
|---|---|
| date | Sat, 28 Aug 2021 09:56:40 +0900 |
| parents | 520044113ef0 |
| children |
| rev | line source |
|---|---|
| 0 | 1 // Filename : main.cpp |
|
2
c0f76f8e67fa
ver 1.0.0 release (add 2 items, time-limit@2022-09-30. & bug fix.)
pyon <pyon@macmini>
parents:
0
diff
changeset
|
2 // Last Change: 2021-08-27 金 09:12:55. |
| 0 | 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 |
