Mercurial > mercurial > hgweb_iklist.hg.cgi
annotate include/main.h @ 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.h |
2 // Last Change: 2020-03-12 –Ø 13:37:37. | |
3 // | |
4 #pragma once | |
5 | |
6 #include <wx/wx.h> | |
7 | |
8 // private classes | |
9 // Define a new application type, each program should derive a class from wxApp | |
10 class MyApp : public wxApp | |
11 { | |
12 DECLARE_CLASS(MyApp) | |
13 private: | |
14 | |
15 public: | |
16 MyApp(); | |
17 ~MyApp(); | |
18 | |
19 virtual bool OnInit(); | |
20 virtual int OnExit(); | |
21 }; | |
22 | |
23 DECLARE_APP(MyApp) | |
24 |