Mercurial > mercurial > hgweb_kaigo.hg.cgi
diff Porori/include/main.h @ 0:aaaa401818a1 draft
first commit.
author | pyon <pyon@macmini> |
---|---|
date | Mon, 24 May 2021 21:32:58 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Porori/include/main.h Mon May 24 21:32:58 2021 +0900 @@ -0,0 +1,20 @@ +// Filename : main.h +// Last Change: 2016-12-01 –Ø 18:02:02. +// +#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) +