1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/xrc/xh_spin.h
3 // Purpose: XML resource handler for wxSpinButton and wxSpinCtrl
4 // Author: Bob Mitchell
6 // Copyright: (c) 2000 Bob Mitchell and Verant Interactive
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
10 #ifndef _WX_XH_SPIN_H_
11 #define _WX_XH_SPIN_H_
13 #include "wx/xrc/xmlres.h"
19 class WXDLLIMPEXP_XRC wxSpinButtonXmlHandler
: public wxXmlResourceHandler
22 wxSpinButtonXmlHandler();
23 virtual wxObject
*DoCreateResource();
24 virtual bool CanHandle(wxXmlNode
*node
);
26 DECLARE_DYNAMIC_CLASS(wxSpinButtonXmlHandler
)
29 #endif // wxUSE_SPINBTN
34 class WXDLLIMPEXP_XRC wxSpinCtrlXmlHandler
: public wxXmlResourceHandler
37 wxSpinCtrlXmlHandler();
38 virtual wxObject
*DoCreateResource();
39 virtual bool CanHandle(wxXmlNode
*node
);
41 DECLARE_DYNAMIC_CLASS(wxSpinCtrlXmlHandler
)
44 #endif // wxUSE_SPINCTRL
48 #endif // _WX_XH_SPIN_H_