]> git.saurik.com Git - wxWidgets.git/blame - include/wx/xrc/xh_spin.h
Change in wxWindow the access specifier of the wxEvtHandler event processing and...
[wxWidgets.git] / include / wx / xrc / xh_spin.h
CommitLineData
56d2f750 1/////////////////////////////////////////////////////////////////////////////
e8a793f0 2// Name: wx/xrc/xh_spin.h
dd47af27 3// Purpose: XML resource handler for wxSpinButton and wxSpinCtrl
56d2f750
VS
4// Author: Bob Mitchell
5// Created: 2000/03/21
6// RCS-ID: $Id$
7// Copyright: (c) 2000 Bob Mitchell and Verant Interactive
8// Licence: wxWindows licence
9/////////////////////////////////////////////////////////////////////////////
10
11#ifndef _WX_XH_SPIN_H_
12#define _WX_XH_SPIN_H_
13
999d9a9f 14#include "wx/xrc/xmlres.h"
dd47af27
VZ
15
16#if wxUSE_XRC
56d2f750
VS
17
18#if wxUSE_SPINBTN
dd47af27 19
30dc3455 20class WXDLLIMPEXP_XRC wxSpinButtonXmlHandler : public wxXmlResourceHandler
56d2f750 21{
eb8671f2
VS
22public:
23 wxSpinButtonXmlHandler();
24 virtual wxObject *DoCreateResource();
25 virtual bool CanHandle(wxXmlNode *node);
033508e1
VS
26
27 DECLARE_DYNAMIC_CLASS(wxSpinButtonXmlHandler)
56d2f750 28};
dd47af27
VZ
29
30#endif // wxUSE_SPINBTN
31
56d2f750
VS
32
33#if wxUSE_SPINCTRL
dd47af27 34
30dc3455 35class WXDLLIMPEXP_XRC wxSpinCtrlXmlHandler : public wxXmlResourceHandler
56d2f750 36{
eb8671f2
VS
37public:
38 wxSpinCtrlXmlHandler();
39 virtual wxObject *DoCreateResource();
40 virtual bool CanHandle(wxXmlNode *node);
033508e1
VS
41
42 DECLARE_DYNAMIC_CLASS(wxSpinCtrlXmlHandler)
56d2f750 43};
dd47af27
VZ
44
45#endif // wxUSE_SPINCTRL
46
47#endif // wxUSE_XRC
56d2f750
VS
48
49#endif // _WX_XH_SPIN_H_