Mercurial > mercurial > hgweb_imcv.cgi
comparison main.h @ 0:ebc42d7a0010
First Release.
| author | pyon@macmini |
|---|---|
| date | Fri, 24 Jan 2014 20:35:59 +0900 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:ebc42d7a0010 |
|---|---|
| 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 |
