1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/xrc/xh_spin.h
3 // Purpose: XML resource handler for wxSpinButton and wxSpinCtrl
4 // Author: Bob Mitchell
7 // Copyright: (c) 2000 Bob Mitchell and Verant Interactive
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_XH_SPIN_H_
12 #define _WX_XH_SPIN_H_
14 #include "wx/xrc/xmlres.h"
20 class WXDLLIMPEXP_XRC wxSpinButtonXmlHandler
: public wxXmlResourceHandler
23 wxSpinButtonXmlHandler();
24 virtual wxObject
*DoCreateResource();
25 virtual bool CanHandle(wxXmlNode
*node
);
27 DECLARE_DYNAMIC_CLASS(wxSpinButtonXmlHandler
)
30 #endif // wxUSE_SPINBTN
35 class WXDLLIMPEXP_XRC wxSpinCtrlXmlHandler
: public wxXmlResourceHandler
38 wxSpinCtrlXmlHandler();
39 virtual wxObject
*DoCreateResource();
40 virtual bool CanHandle(wxXmlNode
*node
);
42 DECLARE_DYNAMIC_CLASS(wxSpinCtrlXmlHandler
)
45 #endif // wxUSE_SPINCTRL
49 #endif // _WX_XH_SPIN_H_