]> git.saurik.com Git - wxWidgets.git/blob - include/wx/xrc/xh_timectrl.h
Fix wxPropertyGrid::GetPropertyRect when the last item is collapsed.
[wxWidgets.git] / include / wx / xrc / xh_timectrl.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/xrc/xh_timectrl.h
3 // Purpose: XML resource handler for wxTimePickerCtrl
4 // Author: Vadim Zeitlin
5 // Created: 2011-09-22
6 // Copyright: (c) 2011 Vadim Zeitlin <vadim@wxwidgets.org>
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
9
10 #ifndef _WX_XH_TIMECTRL_H_
11 #define _WX_XH_TIMECTRL_H_
12
13 #include "wx/xrc/xmlres.h"
14
15 #if wxUSE_XRC && wxUSE_TIMEPICKCTRL
16
17 class WXDLLIMPEXP_XRC wxTimeCtrlXmlHandler : public wxXmlResourceHandler
18 {
19 public:
20 wxTimeCtrlXmlHandler();
21 virtual wxObject *DoCreateResource();
22 virtual bool CanHandle(wxXmlNode *node);
23
24 private:
25 wxDECLARE_DYNAMIC_CLASS(wxTimeCtrlXmlHandler);
26 };
27
28 #endif // wxUSE_XRC && wxUSE_TIMEPICKCTRL
29
30 #endif // _WX_XH_TIMECTRL_H_