#ifndef MAIN_H #define MAIN_H #include #ifdef __BORLANDC__ #pragma hdrstop #endif #ifndef WX_PRECOMP #include #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