class Application : public wxApp { public: virtual bool OnInit(); }; class Frame : public wxFrame { public: Frame(const wxString& title, const wxPoint& pos, const wxSize& size, long style = wxDEFAULT_FRAME_STYLE); void OnMouseLeftDoubleClick(wxMouseEvent& event); void OnMouseRightDoubleClick(wxMouseEvent& event); void OnMouseWheel(wxMouseEvent& event); void OnMouseEnterW(wxMouseEvent& event); private: bool TextChg; wxTextCtrl *mlTextCtrl; wxTextCtrl *mlTextCtrl_2; void OnQuit(wxCommandEvent& event); void OnNouveau(wxCommandEvent& event); void OnOuvrir(wxCommandEvent& event); void OnEnregistrer(wxCommandEvent& event); void OnPolice(wxCommandEvent& event); void OnCouleur(wxCommandEvent& event); void OnAPropos(wxCommandEvent& event); void OnTextUpdate(wxCommandEvent& event); void OnClose(wxCloseEvent& event); enum { App_Quit = 1, Nouveau, Ouvrir, Enregister, Police, Couleur, APropos, TextEdit }; DECLARE_EVENT_TABLE() };