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