]>
git.saurik.com Git - wxWidgets.git/blob - samples/mobile/styles/styles.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Author: Robert Roebling
6 /////////////////////////////////////////////////////////////////////////////
11 // Include wxWidgets' headers
17 //----------------------------------------------------------------------------
19 //----------------------------------------------------------------------------
24 //----------------------------------------------------------------------------
26 //----------------------------------------------------------------------------
28 class MyFrame
: public wxFrame
31 // constructors and destructors
32 MyFrame( wxWindow
*parent
, wxWindowID id
, const wxString
&title
,
33 const wxPoint
& pos
= wxDefaultPosition
,
34 const wxSize
& size
= wxDefaultSize
,
35 long style
= wxDEFAULT_FRAME_STYLE
);
38 void CreateMyMenuBar();
41 void OnAbout( wxCommandEvent
&event
);
42 void OnQuit( wxCommandEvent
&event
);
44 void OnCloseWindow( wxCloseEvent
&event
);
50 //----------------------------------------------------------------------------
52 //----------------------------------------------------------------------------
54 class MyApp
: public wxApp
59 virtual bool OnInit();