Mercurial > mercurial > hgweb_rsearcher.cgi
view include/main.h @ 0:d3b8cd5aeb70
make repo.
author | pyon@macmini |
---|---|
date | Sun, 30 Sep 2018 17:27:04 +0900 |
parents | |
children | eaa27e4ed5be |
line wrap: on
line source
// Filename : main.h // Last Change: 2018-09-17 Mon 21:57:32. // #include <wx/wx.h> #include <wx/config.h> #include <wx/fileconf.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; public: wxRect rect; MyApp(); ~MyApp(); virtual bool OnInit(); virtual int OnExit(); void InitSetting(); void SaveSetting(); void GetData(); void DeleteData(); }; DECLARE_APP(MyApp)