]> git.saurik.com Git - wxWidgets.git/blob - include/wx/xrc/xh_gauge.h
Warning fix for wxOS2 night build.
[wxWidgets.git] / include / wx / xrc / xh_gauge.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: xh_gauge.h
3 // Purpose: XML resource handler for wxGauge
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_GAUGE_H_
12 #define _WX_XH_GAUGE_H_
13
14 #include "wx/defs.h"
15
16 #if wxUSE_GAUGE
17
18 #include "wx/xrc/xmlres.h"
19
20
21 class WXDLLIMPEXP_XRC wxGaugeXmlHandler : public wxXmlResourceHandler
22 {
23 DECLARE_DYNAMIC_CLASS(wxGaugeXmlHandler)
24 enum
25 {
26 wxGAUGE_DEFAULT_RANGE = 100
27 };
28
29 public:
30 wxGaugeXmlHandler();
31 virtual wxObject *DoCreateResource();
32 virtual bool CanHandle(wxXmlNode *node);
33 };
34
35 #endif
36
37 #endif // _WX_XH_GAUGE_H_