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