]> git.saurik.com Git - wxWidgets.git/blame - include/wx/xrc/xh_spin.h
Added CmdDown() to grid events
[wxWidgets.git] / include / wx / xrc / xh_spin.h
CommitLineData
56d2f750
VS
1/////////////////////////////////////////////////////////////////////////////
2// Name: xh_spin.h
3// Purpose: XML resource handler for wxSpinButton
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"
56d2f750
VS
15#include "wx/defs.h"
16
17#if wxUSE_SPINBTN
30dc3455 18class WXDLLIMPEXP_XRC wxSpinButtonXmlHandler : public wxXmlResourceHandler
56d2f750 19{
f80ea77b 20 DECLARE_DYNAMIC_CLASS(wxSpinButtonXmlHandler)
ea89ec17 21 enum
56d2f750
VS
22 {
23 wxSP_DEFAULT_VALUE = 0,
24 wxSP_DEFAULT_MIN = 0,
25 wxSP_DEFAULT_MAX = 100
26 };
27
eb8671f2
VS
28public:
29 wxSpinButtonXmlHandler();
30 virtual wxObject *DoCreateResource();
31 virtual bool CanHandle(wxXmlNode *node);
56d2f750
VS
32};
33#endif
34
35#if wxUSE_SPINCTRL
30dc3455 36class WXDLLIMPEXP_XRC wxSpinCtrlXmlHandler : public wxXmlResourceHandler
56d2f750 37{
f80ea77b 38 DECLARE_DYNAMIC_CLASS(wxSpinCtrlXmlHandler)
ea89ec17 39 enum
56d2f750
VS
40 {
41 wxSP_DEFAULT_VALUE = 0,
42 wxSP_DEFAULT_MIN = 0,
43 wxSP_DEFAULT_MAX = 100
44 };
45
eb8671f2
VS
46public:
47 wxSpinCtrlXmlHandler();
48 virtual wxObject *DoCreateResource();
49 virtual bool CanHandle(wxXmlNode *node);
56d2f750
VS
50};
51#endif
52
53#endif // _WX_XH_SPIN_H_