X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/be5a51fb592f3fa2ba38ac6cd1e488d6d806058c..4f31d61012bfa8371e268e42857f2d47f77c0af6:/samples/mobile/wxedit/wxedit.h diff --git a/samples/mobile/wxedit/wxedit.h b/samples/mobile/wxedit/wxedit.h index de364747d7..66b1d41d2e 100644 --- a/samples/mobile/wxedit/wxedit.h +++ b/samples/mobile/wxedit/wxedit.h @@ -8,7 +8,7 @@ #define __wxedit_H__ #if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "wxedit.cpp" + #pragma interface "wxedit.h" #endif // Include wxWidgets' headers @@ -50,15 +50,15 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_FRAME_STYLE ); - + private: void CreateMyMenuBar(); - + private: wxTextCtrl *m_text; wxString m_filename; wxArrayString m_history; - + private: void OnAbout( wxCommandEvent &event ); void OnNew( wxCommandEvent &event ); @@ -66,23 +66,23 @@ private: void OnSave( wxCommandEvent &event ); void OnSaveAs( wxCommandEvent &event ); void OnQuit( wxCommandEvent &event ); - + void OnCopy( wxCommandEvent &event ); void OnCut( wxCommandEvent &event ); void OnPaste( wxCommandEvent &event ); void OnDelete( 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: DECLARE_EVENT_TABLE() }; @@ -94,8 +94,8 @@ private: class MyApp: public wxApp { public: - MyApp(); - + MyApp(){}; + virtual bool OnInit(); virtual int OnExit(); };