view include/main.h @ 22:05f76f9f9186

index buttons move to main-frame.
author pyon@macmini
date Wed, 27 Jul 2011 19:01:09 +0900
parents c174ac668e9f
children
line wrap: on
line source

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