Mercurial > mercurial > hgweb_lesearcher.cgi
diff include/main.h @ 0:615a15029602 default tip
first commit.
author | pyon@macmini |
---|---|
date | Sun, 10 Nov 2019 08:39:41 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/include/main.h Sun Nov 10 08:39:41 2019 +0900 @@ -0,0 +1,25 @@ +/* Filename : main.h + Last Change: 2019-11-08 金 14:16:12. + by Takayuki Mutoh +*/ +#pragma once + +#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 ) + private: + + public: + MyApp(); + ~MyApp(); + + virtual bool OnInit(); + virtual int OnExit(); +}; + +DECLARE_APP( MyApp ) +