Mercurial > mercurial > hgweb_mpos.cgi
comparison main.h @ 0:6235b9a84d53
First Release.
author | pyon@macmini |
---|---|
date | Mon, 21 Apr 2014 20:44:57 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:6235b9a84d53 |
---|---|
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 |