6b9103c67b
Add a trivial handler modeled after the existing wxDateCtrlXmlHandler. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
32 lines
880 B
C++
32 lines
880 B
C++
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: wx/xrc/xh_timectrl.h
|
|
// Purpose: XML resource handler for wxTimePickerCtrl
|
|
// Author: Vadim Zeitlin
|
|
// Created: 2011-09-22
|
|
// RCS-ID: $Id$
|
|
// Copyright: (c) 2011 Vadim Zeitlin <vadim@wxwidgets.org>
|
|
// Licence: wxWindows licence
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef _WX_XH_TIMECTRL_H_
|
|
#define _WX_XH_TIMECTRL_H_
|
|
|
|
#include "wx/xrc/xmlres.h"
|
|
|
|
#if wxUSE_XRC && wxUSE_TIMEPICKCTRL
|
|
|
|
class WXDLLIMPEXP_XRC wxTimeCtrlXmlHandler : public wxXmlResourceHandler
|
|
{
|
|
public:
|
|
wxTimeCtrlXmlHandler();
|
|
virtual wxObject *DoCreateResource();
|
|
virtual bool CanHandle(wxXmlNode *node);
|
|
|
|
private:
|
|
wxDECLARE_DYNAMIC_CLASS(wxTimeCtrlXmlHandler);
|
|
};
|
|
|
|
#endif // wxUSE_XRC && wxUSE_TIMEPICKCTRL
|
|
|
|
#endif // _WX_XH_TIMECTRL_H_
|