]> git.saurik.com Git - wxWidgets.git/blob - samples/mobile/styles/styles.h
removed more extraneous semicolons
[wxWidgets.git] / samples / mobile / styles / styles.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: styles.h
3 // Author: Robert Roebling
4 // Created: 04/07/02
5 /////////////////////////////////////////////////////////////////////////////
6
7 #ifndef __styles_H__
8 #define __styles_H__
9
10 // Include wxWidgets' headers
11
12 #ifndef WX_PRECOMP
13 #include <wx/wx.h>
14 #endif
15
16 //----------------------------------------------------------------------------
17 // constants
18 //----------------------------------------------------------------------------
19
20 #define ID_ABOUT 100
21 #define ID_QUIT 204
22
23 //----------------------------------------------------------------------------
24 // MyFrame
25 //----------------------------------------------------------------------------
26
27 class MyFrame: public wxFrame
28 {
29 public:
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 );
35
36 private:
37 void CreateMyMenuBar();
38
39 private:
40 void OnAbout( wxCommandEvent &event );
41 void OnQuit( wxCommandEvent &event );
42
43 void OnCloseWindow( wxCloseEvent &event );
44
45 private:
46 DECLARE_EVENT_TABLE()
47 };
48
49 //----------------------------------------------------------------------------
50 // MyApp
51 //----------------------------------------------------------------------------
52
53 class MyApp: public wxApp
54 {
55 public:
56 MyApp(){};
57
58 virtual bool OnInit();
59 virtual int OnExit();
60 };
61
62 #endif