diff include/main.h @ 0:520044113ef0 draft

beta release.
author pyon <pyon@macmini>
date Sat, 21 Aug 2021 13:03:13 +0900
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/include/main.h	Sat Aug 21 13:03:13 2021 +0900
@@ -0,0 +1,24 @@
+// Filename   : main.h
+// Last Change: 2020-03-12 –Ø 13:37:37.
+//
+#pragma once
+
+#include <wx/wx.h>
+
+// private classes
+// Define a new application type, each program should derive a class from wxApp
+class MyApp : public wxApp
+{
+    DECLARE_CLASS(MyApp)
+	private:
+
+	public:
+		MyApp();
+		~MyApp();
+
+		virtual bool OnInit();
+		virtual int  OnExit();
+};
+
+DECLARE_APP(MyApp)
+