]> git.saurik.com Git - wxWidgets.git/blob - include/wx/xrc/xh_datectrl.h
Compilation fix for VC++ 5 and 6
[wxWidgets.git] / include / wx / xrc / xh_datectrl.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: xh_datectrl.h
3 // Purpose: XML resource handler for wxDatePickerCtrl
4 // Author: Vaclav Slavik
5 // Created: 2005-02-07
6 // RCS-ID: $Id$
7 // Copyright: (c) 2005 Vaclav Slavik
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
10
11 #ifndef _WX_XH_DATECTRL_H_
12 #define _WX_XH_DATECTRL_H_
13
14 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
15 #pragma interface "xh_datectrl.h"
16 #endif
17
18 #include "wx/xrc/xmlres.h"
19
20 #if wxUSE_DATEPICKCTRL
21
22 class WXDLLIMPEXP_XRC wxDateCtrlXmlHandler : public wxXmlResourceHandler
23 {
24 DECLARE_DYNAMIC_CLASS(wxDateCtrlXmlHandler)
25 public:
26 wxDateCtrlXmlHandler();
27 virtual wxObject *DoCreateResource();
28 virtual bool CanHandle(wxXmlNode *node);
29 };
30
31 #endif // wxUSE_DATEPICKCTRL
32
33 #endif // _WX_XH_DATECTRL_H_