Mercurial > mercurial > hgweb_mover.cgi
diff include/main.h @ 2:1ea4f7981ff5
create window.
author | pyon@macmini |
---|---|
date | Sun, 02 Oct 2011 18:44:03 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/include/main.h Sun Oct 02 18:44:03 2011 +0900 @@ -0,0 +1,29 @@ +// Filename : main.h +// Last Change: 27-Sep-2011. +// +#include "wx/wx.h" +#include "wx/config.h" +#include "wx/fileconf.h" + +#include "symbol.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(); + void ConfInit(); + + wxFileConfig *config; + wxString conf_file; + wxRect rect; + wxString dir; +}; + +DECLARE_APP(MyApp) +