]>
git.saurik.com Git - wxWidgets.git/blob - samples/mobile/styles/styles.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Author: Robert Roebling
5 /////////////////////////////////////////////////////////////////////////////
10 // Include wxWidgets' headers
16 //----------------------------------------------------------------------------
18 //----------------------------------------------------------------------------
23 //----------------------------------------------------------------------------
25 //----------------------------------------------------------------------------
27 class MyFrame
: public wxFrame
30 // constructors and destructors
31 MyFrame( wxWindow
*parent
, wxWindowID id
, const wxString
&title
,
32 const wxPoint
& pos
= wxDefaultPosition
,
33 const wxSize
& size
= wxDefaultSize
,
34 long style
= wxDEFAULT_FRAME_STYLE
);
37 void CreateMyMenuBar();
40 void OnAbout( wxCommandEvent
&event
);
41 void OnQuit( wxCommandEvent
&event
);
43 void OnCloseWindow( wxCloseEvent
&event
);
49 //----------------------------------------------------------------------------
51 //----------------------------------------------------------------------------
53 class MyApp
: public wxApp
58 virtual bool OnInit();