Mercurial > mercurial > hgweb_qlipbrd.cgi
annotate include/main.h @ 0:cb3403ca39b1
First release.
| author | pyon@macmini |
|---|---|
| date | Sun, 30 Aug 2015 21:53:19 +0900 |
| parents | |
| children |
| rev | line source |
|---|---|
| 0 | 1 // Filename : main.h |
| 2 // Last Change: 2015-08-26 Wed 19:50:46. | |
| 3 // | |
| 4 #include <wx/wx.h> | |
| 5 #include <wx/help.h> | |
| 6 | |
| 7 // private classes | |
| 8 // Define a new application type, each program should derive a class from wxApp | |
| 9 class MyApp : public wxApp | |
| 10 { | |
| 11 DECLARE_CLASS( MyApp ) | |
| 12 public: | |
| 13 MyApp(); | |
| 14 ~MyApp(); | |
| 15 | |
| 16 virtual bool OnInit(); | |
| 17 virtual int OnExit(); | |
| 18 }; | |
| 19 | |
| 20 DECLARE_APP(MyApp) | |
| 21 |
