]> git.saurik.com Git - wxWidgets.git/blame - include/wx/xrc/xh_spin.h
removed wxUSE_DIB_FOR_BITMAP which doesn't seem to be used any longer
[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{
f80ea77b 22 DECLARE_DYNAMIC_CLASS(wxSpinButtonXmlHandler)
ea89ec17 23 enum
56d2f750
VS
24 {
25 wxSP_DEFAULT_VALUE = 0,
26 wxSP_DEFAULT_MIN = 0,
27 wxSP_DEFAULT_MAX = 100
28 };
29
eb8671f2
VS
30public:
31 wxSpinButtonXmlHandler();
32 virtual wxObject *DoCreateResource();
33 virtual bool CanHandle(wxXmlNode *node);
56d2f750 34};
dd47af27
VZ
35
36#endif // wxUSE_SPINBTN
37
56d2f750
VS
38
39#if wxUSE_SPINCTRL
dd47af27 40
30dc3455 41class WXDLLIMPEXP_XRC wxSpinCtrlXmlHandler : public wxXmlResourceHandler
56d2f750 42{
f80ea77b 43 DECLARE_DYNAMIC_CLASS(wxSpinCtrlXmlHandler)
ea89ec17 44 enum
56d2f750
VS
45 {
46 wxSP_DEFAULT_VALUE = 0,
47 wxSP_DEFAULT_MIN = 0,
48 wxSP_DEFAULT_MAX = 100
49 };
50
eb8671f2
VS
51public:
52 wxSpinCtrlXmlHandler();
53 virtual wxObject *DoCreateResource();
54 virtual bool CanHandle(wxXmlNode *node);
56d2f750 55};
dd47af27
VZ
56
57#endif // wxUSE_SPINCTRL
58
59#endif // wxUSE_XRC
56d2f750
VS
60
61#endif // _WX_XH_SPIN_H_