]>
git.saurik.com Git - wxWidgets.git/blob - samples/mobile/styles/styles.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Author: Robert Roebling
5 /////////////////////////////////////////////////////////////////////////////
11 #pragma interface "styles.cpp"
14 // Include wxWindows' headers
20 //----------------------------------------------------------------------------
22 //----------------------------------------------------------------------------
27 //----------------------------------------------------------------------------
29 //----------------------------------------------------------------------------
31 class MyFrame
: public wxFrame
34 // constructors and destructors
35 MyFrame( wxWindow
*parent
, wxWindowID id
, const wxString
&title
,
36 const wxPoint
& pos
= wxDefaultPosition
,
37 const wxSize
& size
= wxDefaultSize
,
38 long style
= wxDEFAULT_FRAME_STYLE
);
41 void CreateMyMenuBar();
44 void OnAbout( wxCommandEvent
&event
);
45 void OnQuit( wxCommandEvent
&event
);
47 void OnCloseWindow( wxCloseEvent
&event
);
53 //----------------------------------------------------------------------------
55 //----------------------------------------------------------------------------
57 class MyApp
: public wxApp
62 virtual bool OnInit();