Mercurial > mercurial > hgweb_madnm.cgi
annotate include/main.h @ 0:2f5584f0d127
first commit.
| author | pyon@macmini |
|---|---|
| date | Sat, 08 Jun 2019 16:21:40 +0900 |
| parents | |
| children |
| rev | line source |
|---|---|
| 0 | 1 // Filename : main.h |
| 2 // Last Change: 2019-06-05 12:37:13. | |
| 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 |
