]> git.saurik.com Git - wxWidgets.git/blame - samples/xrc/derivdlg.h
Forgot to remove wxBackingFile from the changes.txt. It was kept internal
[wxWidgets.git] / samples / xrc / derivdlg.h
CommitLineData
af1337b0
JS
1//-----------------------------------------------------------------------------
2// Name: xmldemo.cpp
3// Purpose: XML resources sample: A derived dialog
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 _DERIVDLG_H_
15#define _DERIVDLG_H_
16
af1337b0
JS
17//-----------------------------------------------------------------------------
18// Headers
19//-----------------------------------------------------------------------------
20
21#include "wx/dialog.h"
22
23//-----------------------------------------------------------------------------
24// Class definition: PreferencesDialog
25//-----------------------------------------------------------------------------
26
27// A derived dialog.
28class PreferencesDialog : public wxDialog
29{
30
f80ea77b
WS
31public:
32
af1337b0
JS
33 // Constructor.
34 /*
35 \param parent The parent window. Simple constructor.
f80ea77b 36 */
af1337b0 37 PreferencesDialog( wxWindow* parent );
f80ea77b
WS
38
39 // Destructor.
925e9792 40 ~PreferencesDialog(){};
af1337b0
JS
41
42private:
f80ea77b 43
af1337b0
JS
44 // Stuff to do when "My Button" gets clicked
45 void OnMyButtonClicked( wxCommandEvent &event );
46
f80ea77b 47 // Stuff to do when a "My Checkbox" gets updated
af1337b0 48 // (drawn, or it changes its value)
6372b068 49 void OnUpdateUIMyCheckbox( wxUpdateUIEvent &event );
f80ea77b 50
af1337b0
JS
51 // Override base class functions of a wxDialog.
52 void OnOK( wxCommandEvent &event );
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 //_DERIVDLG_H_