Mercurial > mercurial > hgweb_renren.cgi
annotate include/main.h @ 0:00c5161d67b8 default tip
first release.
| author | pyon@macmini |
|---|---|
| date | Tue, 29 Oct 2013 19:23:03 +0900 |
| parents | |
| children |
| rev | line source |
|---|---|
| 0 | 1 // Filename : main.h |
| 2 // Last Change: 29-Oct-2013. | |
| 3 // | |
| 4 #include "wx/wx.h" | |
| 5 #include "wx/config.h" | |
| 6 #include "wx/fileconf.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 | |
| 14 public: | |
| 15 MyApp(); | |
| 16 ~MyApp(); | |
| 17 | |
| 18 virtual bool OnInit(); | |
| 19 virtual int OnExit(); | |
| 20 }; | |
| 21 | |
| 22 | |
| 23 DECLARE_APP(MyApp) | |
| 24 |
