]> git.saurik.com Git - wxWidgets.git/blob - include/wx/xrc/xh_spin.h
Don't define __STRICT_ANSI__, we should build both with and without it.
[wxWidgets.git] / include / wx / xrc / xh_spin.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/xrc/xh_spin.h
3 // Purpose: XML resource handler for wxSpinButton and wxSpinCtrl
4 // Author: Bob Mitchell
5 // Created: 2000/03/21
6 // Copyright: (c) 2000 Bob Mitchell and Verant Interactive
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
9
10 #ifndef _WX_XH_SPIN_H_
11 #define _WX_XH_SPIN_H_
12
13 #include "wx/xrc/xmlres.h"
14
15 #if wxUSE_XRC
16
17 #if wxUSE_SPINBTN
18
19 class WXDLLIMPEXP_XRC wxSpinButtonXmlHandler : public wxXmlResourceHandler
20 {
21 public:
22 wxSpinButtonXmlHandler();
23 virtual wxObject *DoCreateResource();
24 virtual bool CanHandle(wxXmlNode *node);
25
26 DECLARE_DYNAMIC_CLASS(wxSpinButtonXmlHandler)
27 };
28
29 #endif // wxUSE_SPINBTN
30
31
32 #if wxUSE_SPINCTRL
33
34 class WXDLLIMPEXP_XRC wxSpinCtrlXmlHandler : public wxXmlResourceHandler
35 {
36 public:
37 wxSpinCtrlXmlHandler();
38 virtual wxObject *DoCreateResource();
39 virtual bool CanHandle(wxXmlNode *node);
40
41 DECLARE_DYNAMIC_CLASS(wxSpinCtrlXmlHandler)
42 };
43
44 #endif // wxUSE_SPINCTRL
45
46 #endif // wxUSE_XRC
47
48 #endif // _WX_XH_SPIN_H_