diff include/main.h @ 0:c174ac668e9f

First commit ! (ver2.8)
author pyon@macmini
date Tue, 05 Apr 2011 18:44:57 +0900
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/include/main.h	Tue Apr 05 18:44:57 2011 +0900
@@ -0,0 +1,30 @@
+// Filename   : main.h
+// Last Change: 08-Mar-2011.
+//
+#include "wx/wx.h"
+#include "wx/config.h"
+#include "wx/fileconf.h"
+
+#include "symbol.h"
+// private classes
+// Define a new application type, each program should derive a class from wxApp
+class MyApp : public wxApp
+{
+    DECLARE_CLASS( MyApp )
+public:
+    MyApp();
+    ~MyApp();
+
+    virtual bool OnInit();
+    virtual int  OnExit();
+    void ConfInit();
+
+    wxFileConfig *config;
+    wxString      conf_file;
+    wxRect        rect;
+    wxString      rootdir;
+    wxArrayString searchhist;
+};
+
+DECLARE_APP(MyApp)
+