view include/main.h @ 8:550c143ab194

implement NextThursday button.
author pyon@macmini
date Wed, 19 Oct 2011 20:36:52 +0900
parents 52697c869ce8
children 9b0840b0be7e
line wrap: on
line source

// Filename   : main.h
// Last Change: 19-Oct-2011.
//
#include "wx/wx.h"
#include "wx/config.h"
#include "wx/fileconf.h"

//#include "symbol.h"
#define MYAPPNAME wxT("AMover2")

#define VER 2
#define REV 1
#define BLD 20111027

// 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)