comparison include/main.h @ 2:1ea4f7981ff5

create window.
author pyon@macmini
date Sun, 02 Oct 2011 18:44:03 +0900
parents
children
comparison
equal deleted inserted replaced
1:214f2908b8e4 2:1ea4f7981ff5
1 // Filename : main.h
2 // Last Change: 27-Sep-2011.
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 dir;
26 };
27
28 DECLARE_APP(MyApp)
29