Mercurial > mercurial > hgweb_hanzen.cgi
annotate main.h @ 1:9f0e0d0ae5de default tip
comment fix.
| author | pyon@macmini |
|---|---|
| date | Mon, 21 Apr 2014 20:44:04 +0900 |
| parents | 79a92ddc3546 |
| children |
| rev | line source |
|---|---|
| 0 | 1 // Filename : main.h |
| 2 // Last Change: 15-Jan-2014. | |
| 3 // | |
| 4 #include "wx/wx.h" | |
| 5 | |
| 6 // private classes | |
| 7 // Define a new application type, each program should derive a class from wxApp | |
| 8 class MyApp : public wxApp | |
| 9 { | |
| 10 DECLARE_CLASS( MyApp ) | |
| 11 public: | |
| 12 MyApp(); | |
| 13 ~MyApp(); | |
| 14 | |
| 15 virtual bool OnInit(); | |
| 16 virtual int OnExit(); | |
| 17 }; | |
| 18 | |
| 19 DECLARE_APP(MyApp) | |
| 20 |
