]> git.saurik.com Git - wxWidgets.git/blame_incremental - samples/mobile/styles/styles.h
GetPendingEditedValue() -> GetUncommittedPropertyValue() (more consistent API naming...
[wxWidgets.git] / samples / mobile / styles / styles.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: styles.h
3// Author: Robert Roebling
4// RCS-ID: $Id$
5// Created: 04/07/02
6/////////////////////////////////////////////////////////////////////////////
7
8#ifndef __styles_H__
9#define __styles_H__
10
11// Include wxWidgets' headers
12
13#ifndef WX_PRECOMP
14 #include "wx/wx.h"
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 );
36
37private:
38 void CreateMyMenuBar();
39
40private:
41 void OnAbout( wxCommandEvent &event );
42 void OnQuit( wxCommandEvent &event );
43
44 void OnCloseWindow( wxCloseEvent &event );
45
46private:
47 DECLARE_EVENT_TABLE()
48};
49
50//----------------------------------------------------------------------------
51// MyApp
52//----------------------------------------------------------------------------
53
54class MyApp: public wxApp
55{
56public:
57 MyApp(){};
58
59 virtual bool OnInit();
60 virtual int OnExit();
61};
62
63#endif