view include/main.h @ 6:99d612849255

v0.3
author pyon@macmini
date Sat, 08 Oct 2011 17:00:33 +0900
parents 1ea4f7981ff5
children
line wrap: on
line source

// Filename   : main.h
// Last Change: 27-Sep-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      dir;
};

DECLARE_APP(MyApp)