0
|
1 // Filename : main.h
|
5
|
2 // Last Change: 17-Oct-2011.
|
0
|
3 //
|
|
4 #include "wx/wx.h"
|
|
5 #include "wx/config.h"
|
|
6 #include "wx/fileconf.h"
|
|
7
|
|
8 #include "symbol.h"
|
|
9 // private classes
|
|
10 // Define a new application type, each program should derive a class from wxApp
|
|
11 class MyApp : public wxApp
|
|
12 {
|
|
13 DECLARE_CLASS( MyApp )
|
|
14 public:
|
|
15 MyApp();
|
|
16 ~MyApp();
|
|
17
|
|
18 virtual bool OnInit();
|
|
19 virtual int OnExit();
|
|
20 void ConfInit();
|
|
21
|
|
22 wxFileConfig *config;
|
|
23 wxString conf_file;
|
|
24 wxRect rect;
|
|
25 wxString workdir;
|
|
26 wxString lmin;
|
|
27 wxString lmax;
|
5
|
28 wxString zmin;
|
|
29 wxString zmax;
|
0
|
30 };
|
|
31
|
|
32 DECLARE_APP(MyApp)
|
|
33
|