1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: XML resource handler for wxSpinButton
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"
18 class WXDLLIMPEXP_XRC wxSpinButtonXmlHandler
: public wxXmlResourceHandler
20 DECLARE_DYNAMIC_CLASS(wxSpinButtonXmlHandler
)
23 wxSP_DEFAULT_VALUE
= 0,
25 wxSP_DEFAULT_MAX
= 100
29 wxSpinButtonXmlHandler();
30 virtual wxObject
*DoCreateResource();
31 virtual bool CanHandle(wxXmlNode
*node
);
36 class WXDLLIMPEXP_XRC wxSpinCtrlXmlHandler
: public wxXmlResourceHandler
38 DECLARE_DYNAMIC_CLASS(wxSpinCtrlXmlHandler
)
41 wxSP_DEFAULT_VALUE
= 0,
43 wxSP_DEFAULT_MAX
= 100
47 wxSpinCtrlXmlHandler();
48 virtual wxObject
*DoCreateResource();
49 virtual bool CanHandle(wxXmlNode
*node
);
53 #endif // _WX_XH_SPIN_H_