]>
git.saurik.com Git - wxWidgets.git/blob - mobile/wxedit/wxedit.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Author: Robert Roebling
5 /////////////////////////////////////////////////////////////////////////////
11 #pragma interface "wxedit.cpp"
14 // Include wxWindows' headers
20 //----------------------------------------------------------------------------
22 //----------------------------------------------------------------------------
32 //----------------------------------------------------------------------------
34 //----------------------------------------------------------------------------
36 class MyFrame
: public wxFrame
39 // constructors and destructors
40 MyFrame( wxWindow
*parent
, wxWindowID id
, const wxString
&title
,
41 const wxPoint
& pos
= wxDefaultPosition
,
42 const wxSize
& size
= wxDefaultSize
,
43 long style
= wxDEFAULT_FRAME_STYLE
);
46 void CreateMyMenuBar();
52 void OnAbout( wxCommandEvent
&event
);
53 void OnNew( wxCommandEvent
&event
);
54 void OnOpen( wxCommandEvent
&event
);
55 void OnSave( wxCommandEvent
&event
);
56 void OnSaveAs( wxCommandEvent
&event
);
57 void OnQuit( wxCommandEvent
&event
);
58 void OnCloseWindow( wxCloseEvent
&event
);
64 //----------------------------------------------------------------------------
66 //----------------------------------------------------------------------------
68 class MyApp
: public wxApp
73 virtual bool OnInit();