comparison include/main.h @ 0:0c0701a935f8

Start Development.
author pyon@macmini
date Sun, 21 Jul 2013 16:07:19 +0900
parents
children 3bb803d8c1d7
comparison
equal deleted inserted replaced
-1:000000000000 0:0c0701a935f8
1 // Filename : main.h
2 // Last Change: 20-Jul-2013.
3 //
4 #include "wx/wx.h"
5 #include "wx/config.h"
6 #include "wx/fileconf.h"
7
8 // private classes
9 // Define a new application type, each program should derive a class from wxApp
10 class MyApp : public wxApp
11 {
12 DECLARE_CLASS( MyApp )
13 public:
14 MyApp();
15 ~MyApp();
16
17 virtual bool OnInit();
18 virtual int OnExit();
19 void InitSetting();
20 void SaveSetting();
21 void InitLog();
22 void WriteLog( wxString msg );
23
24 wxFileConfig *config;
25 wxString conf_file;
26 wxString log_file;
27 wxRect rect;
28 };
29
30 enum {
31 ID_MAIN = wxID_HIGHEST + 1,
32 };
33
34 DECLARE_APP(MyApp)
35