diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/kaigo/horori/alloc/main.cpp	Thu Apr 16 20:59:35 2020 +0900
@@ -0,0 +1,34 @@
+// Filename   : main.cpp
+// Last Change: 2020-03-17 火 16:05:54.
+//
+#include "main.h"
+#include "alloc.h"
+
+IMPLEMENT_APP(MyApp)
+
+IMPLEMENT_CLASS(MyApp, wxApp)
+
+MyApp::MyApp()
+{
+}
+
+MyApp::~MyApp()
+{
+}
+
+bool MyApp::OnInit()
+{
+    if (!wxApp::OnInit()) return false;
+
+	AllocFrame *frame = new AllocFrame(NULL, wxID_ANY, wxT("ALLOC"), wxDefaultPosition, wxSize(420, 180), wxCAPTION|wxCLOSE_BOX);
+	frame->Show(true);
+	frame->Raise();
+
+    return true;
+}
+
+int MyApp::OnExit()
+{
+    return 0;
+}
+