X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a0760bd34b8eb8083f36c519422fd5d4e70ced99..02a1dfbae942c883d8651e34dcfbc5153aabc56e:/mobile/wxedit/wxedit.h diff --git a/mobile/wxedit/wxedit.h b/mobile/wxedit/wxedit.h index 1ee6785b92..1d4ea9c79b 100644 --- a/mobile/wxedit/wxedit.h +++ b/mobile/wxedit/wxedit.h @@ -55,7 +55,9 @@ private: void CreateMyMenuBar(); private: - wxTextCtrl *m_text; + wxTextCtrl *m_text; + wxString m_filename; + wxArrayString m_history; private: void OnAbout( wxCommandEvent &event ); @@ -70,13 +72,15 @@ private: void OnPaste( wxCommandEvent &event ); void OnDelete( wxCommandEvent &event ); - void OnLast1( wxCommandEvent &event ); - void OnLast2( wxCommandEvent &event ); - void OnLast3( wxCommandEvent &event ); + void OnLastFiles( wxCommandEvent &event ); + + void MakeHistory(); + void AddToHistory( const wxString &fname ); bool Save(); bool Discard(); + void OnUpdateUI( wxUpdateUIEvent &event ); void OnCloseWindow( wxCloseEvent &event ); private: