Mercurial > mercurial > hgweb_qlipbrd.cgi
diff include/main.h @ 0:cb3403ca39b1
First release.
author | pyon@macmini |
---|---|
date | Sun, 30 Aug 2015 21:53:19 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/include/main.h Sun Aug 30 21:53:19 2015 +0900 @@ -0,0 +1,21 @@ +// Filename : main.h +// Last Change: 2015-08-26 Wed 19:50:46. +// +#include <wx/wx.h> +#include <wx/help.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) +