Mercurial > mercurial > hgweb_madnm.cgi
diff include/main.h @ 0:2f5584f0d127
first commit.
author | pyon@macmini |
---|---|
date | Sat, 08 Jun 2019 16:21:40 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/include/main.h Sat Jun 08 16:21:40 2019 +0900 @@ -0,0 +1,24 @@ +// Filename : main.h +// Last Change: 2019-06-05 12:37:13. +// +#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 ) +