#ifndef MAIN_H #define MAIN_H #include <wx/wxprec.h> #ifdef __BORLANDC__ #pragma hdrstop #endif #ifndef WX_PRECOMP #include <wx/wx.h> #endif class MyApp : public wxApp { public: virtual bool OnInit(); }; class MyFrame: public wxFrame { public: MyFrame(wxFrame *frame, const wxString& title); ~MyFrame(); private: void OnQuit(wxCommandEvent& event); void OnAbout(wxCommandEvent& event); DECLARE_EVENT_TABLE(); }; #endif // MAIN_H