view include/main.h @ 6:9c85d71cad7c

implement drag&drop.
author pyon@macmini
date Tue, 18 Oct 2011 22:43:46 +0900
parents 52697c869ce8
children 550c143ab194
line wrap: on
line source

// Filename   : main.h
// Last Change: 17-Oct-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      workdir;
    wxString      lmin;
    wxString      lmax;
    wxString      zmin;
    wxString      zmax;
};

DECLARE_APP(MyApp)