comparison src/kaigo/horori/alloc/main.cpp @ 45:20b42e2deae1

add alloc, (new)mover, merger & (new)searcher.
author pyon@macmini
date Thu, 16 Apr 2020 20:59:35 +0900
parents
children 0369656be06c
comparison
equal deleted inserted replaced
44:b50f2a581cf8 45:20b42e2deae1
1 // Filename : main.cpp
2 // Last Change: 2020-03-17 火 16:05:54.
3 //
4 #include "main.h"
5 #include "alloc.h"
6
7 IMPLEMENT_APP(MyApp)
8
9 IMPLEMENT_CLASS(MyApp, wxApp)
10
11 MyApp::MyApp()
12 {
13 }
14
15 MyApp::~MyApp()
16 {
17 }
18
19 bool MyApp::OnInit()
20 {
21 if (!wxApp::OnInit()) return false;
22
23 AllocFrame *frame = new AllocFrame(NULL, wxID_ANY, wxT("ALLOC"), wxDefaultPosition, wxSize(420, 180), wxCAPTION|wxCLOSE_BOX);
24 frame->Show(true);
25 frame->Raise();
26
27 return true;
28 }
29
30 int MyApp::OnExit()
31 {
32 return 0;
33 }
34