]> git.saurik.com Git - wxWidgets.git/blame - samples/xrc/myframe.h
Turkish translations update from Çağrı Doğan.
[wxWidgets.git] / samples / xrc / myframe.h
CommitLineData
af1337b0
JS
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
af1337b0
JS
5// Copyright: (c) Robert O'Connor and Vaclav Slavik
6// Licence: wxWindows licence
7//-----------------------------------------------------------------------------
8
9//-----------------------------------------------------------------------------
10// Begin single inclusion of this .h file condition
11//-----------------------------------------------------------------------------
12
13#ifndef _MYFRAME_H_
14#define _MYFRAME_H_
15
af1337b0
JS
16//-----------------------------------------------------------------------------
17// Headers
18//-----------------------------------------------------------------------------
19
20#include "wx/frame.h"
21
22//-----------------------------------------------------------------------------
23// Class definition: MyFrame
24//-----------------------------------------------------------------------------
25
26// Define a new frame type: this is going to be our main frame
27class MyFrame : public wxFrame
28{
29
30public:
31
32 // Constructor.
33 MyFrame( wxWindow* parent=(wxWindow *)NULL);
34
f80ea77b 35private:
af1337b0
JS
36
37 // Event handlers (these functions should _not_ be virtual)
60982dea
VZ
38 void OnUnloadResourceMenuCommand(wxCommandEvent& event);
39 void OnReloadResourceMenuCommand(wxCommandEvent& event);
af1337b0
JS
40 void OnExitToolOrMenuCommand(wxCommandEvent& event);
41 void OnAboutToolOrMenuCommand(wxCommandEvent& event);
42 void OnNonDerivedDialogToolOrMenuCommand(wxCommandEvent& event);
43 void OnDerivedDialogToolOrMenuCommand(wxCommandEvent& event);
44 void OnControlsToolOrMenuCommand(wxCommandEvent& event);
f80ea77b 45 void OnUncenteredToolOrMenuCommand(wxCommandEvent& event);
0526c8cc 46 void OnObjRefToolOrMenuCommand(wxCommandEvent& event);
af1337b0
JS
47 void OnCustomClassToolOrMenuCommand(wxCommandEvent& event);
48 void OnPlatformPropertyToolOrMenuCommand(wxCommandEvent& event);
49 void OnArtProviderToolOrMenuCommand(wxCommandEvent& event);
50 void OnVariableExpansionToolOrMenuCommand(wxCommandEvent& event);
af0ac990 51 void OnRecursiveLoad(wxCommandEvent& event);
d956f3e7 52 void OnAnimationCtrlPlay(wxCommandEvent& event);
af1337b0 53
be5a51fb 54 // Any class wishing to process wxWidgets events must use this macro
af1337b0
JS
55 DECLARE_EVENT_TABLE()
56
57};
58
59//-----------------------------------------------------------------------------
60// End single inclusion of this .h file condition
61//-----------------------------------------------------------------------------
62
63#endif // _MYFRAME_H_