Mercurial > mercurial > hgweb_imcv.cgi
diff main.h @ 0:ebc42d7a0010
First Release.
author | pyon@macmini |
---|---|
date | Fri, 24 Jan 2014 20:35:59 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.h Fri Jan 24 20:35:59 2014 +0900 @@ -0,0 +1,20 @@ +// Filename : main.h +// Last Change: 15-Jan-2014. +// +#include "wx/wx.h" + +// private classes +// Define a new application type, each program should derive a class from wxApp +class MyApp : public wxApp +{ + DECLARE_CLASS( MyApp ) +public: + MyApp(); + ~MyApp(); + + virtual bool OnInit(); + virtual int OnExit(); +}; + +DECLARE_APP(MyApp) +