]> git.saurik.com Git - wxWidgets.git/blame_incremental - samples/xrc/myframe.h
allow adjusting the combo button size (patch 1489452)
[wxWidgets.git] / samples / xrc / myframe.h
... / ...
CommitLineData
1//-----------------------------------------------------------------------------
2// Name: myframe.h
3// Purpose: XML resources sample: A derived frame, called MyFrame
4// Author: Robert O'Connor (rob@medicalmnemonics.com), Vaclav Slavik
5// RCS-ID: $Id$
6// Copyright: (c) Robert O'Connor and Vaclav Slavik
7// Licence: wxWindows licence
8//-----------------------------------------------------------------------------
9
10//-----------------------------------------------------------------------------
11// Begin single inclusion of this .h file condition
12//-----------------------------------------------------------------------------
13
14#ifndef _MYFRAME_H_
15#define _MYFRAME_H_
16
17//-----------------------------------------------------------------------------
18// Headers
19//-----------------------------------------------------------------------------
20
21#include "wx/frame.h"
22
23//-----------------------------------------------------------------------------
24// Class definition: MyFrame
25//-----------------------------------------------------------------------------
26
27// Define a new frame type: this is going to be our main frame
28class MyFrame : public wxFrame
29{
30
31public:
32
33 // Constructor.
34 MyFrame( wxWindow* parent=(wxWindow *)NULL);
35
36private:
37
38 // Event handlers (these functions should _not_ be virtual)
39 void OnUnloadResourceMenuCommand(wxCommandEvent& event);
40 void OnReloadResourceMenuCommand(wxCommandEvent& event);
41 void OnExitToolOrMenuCommand(wxCommandEvent& event);
42 void OnAboutToolOrMenuCommand(wxCommandEvent& event);
43 void OnNonDerivedDialogToolOrMenuCommand(wxCommandEvent& event);
44 void OnDerivedDialogToolOrMenuCommand(wxCommandEvent& event);
45 void OnControlsToolOrMenuCommand(wxCommandEvent& event);
46 void OnUncenteredToolOrMenuCommand(wxCommandEvent& event);
47 void OnCustomClassToolOrMenuCommand(wxCommandEvent& event);
48 void OnPlatformPropertyToolOrMenuCommand(wxCommandEvent& event);
49 void OnArtProviderToolOrMenuCommand(wxCommandEvent& event);
50 void OnVariableExpansionToolOrMenuCommand(wxCommandEvent& event);
51
52 // Any class wishing to process wxWidgets events must use this macro
53 DECLARE_EVENT_TABLE()
54
55};
56
57//-----------------------------------------------------------------------------
58// End single inclusion of this .h file condition
59//-----------------------------------------------------------------------------
60
61#endif // _MYFRAME_H_