]> git.saurik.com Git - wxWidgets.git/blame - include/wx/xrc/xh_spin.h
Fix wxPropertyGrid::GetPropertyRect when the last item is collapsed.
[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
56d2f750
VS
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
999d9a9f 13#include "wx/xrc/xmlres.h"
dd47af27 14
03647350 15#if wxUSE_XRC
56d2f750
VS
16
17#if wxUSE_SPINBTN
dd47af27 18
30dc3455 19class WXDLLIMPEXP_XRC wxSpinButtonXmlHandler : public wxXmlResourceHandler
56d2f750 20{
eb8671f2
VS
21public:
22 wxSpinButtonXmlHandler();
23 virtual wxObject *DoCreateResource();
24 virtual bool CanHandle(wxXmlNode *node);
033508e1
VS
25
26 DECLARE_DYNAMIC_CLASS(wxSpinButtonXmlHandler)
56d2f750 27};
dd47af27
VZ
28
29#endif // wxUSE_SPINBTN
30
56d2f750
VS
31
32#if wxUSE_SPINCTRL
dd47af27 33
30dc3455 34class WXDLLIMPEXP_XRC wxSpinCtrlXmlHandler : public wxXmlResourceHandler
56d2f750 35{
eb8671f2
VS
36public:
37 wxSpinCtrlXmlHandler();
38 virtual wxObject *DoCreateResource();
39 virtual bool CanHandle(wxXmlNode *node);
033508e1
VS
40
41 DECLARE_DYNAMIC_CLASS(wxSpinCtrlXmlHandler)
56d2f750 42};
dd47af27
VZ
43
44#endif // wxUSE_SPINCTRL
45
46#endif // wxUSE_XRC
56d2f750
VS
47
48#endif // _WX_XH_SPIN_H_