Mercurial > mercurial > hgweb_rsearcher.cgi
view include/main.h @ 3:db4813125eb8
many changes.
author | pyon@macmini |
---|---|
date | Thu, 11 Oct 2018 22:11:09 +0900 |
parents | 7fe3417cefc8 |
children | 06342fc544e4 |
line wrap: on
line source
// Filename : main.h // Last Change: 2018-10-03 18:11:51. // #include <wx/wx.h> #include <wx/config.h> #include <wx/fileconf.h> #include <wx/splash.h> enum { ID_MAIN = wxID_HIGHEST + 1, }; // private classes // Define a new application type, each program should derive a class from wxApp class MyApp : public wxApp { DECLARE_CLASS( MyApp ) private: wxFileConfig *config; wxString conf_file; wxString m_server; bool develop; public: wxRect rect; MyApp(); ~MyApp(); virtual bool OnInit(); virtual int OnExit(); void InitSetting(); void SaveSetting(); }; DECLARE_APP( MyApp )