2006-11-08 10:45:11 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2011-03-19 20:14:35 -04:00
|
|
|
// Name: wx/xrc/xh_richtext.h
|
2006-11-08 10:45:11 -05:00
|
|
|
// Purpose: XML resource handler for wxRichTextCtrl
|
|
|
|
// Author: Julian Smart
|
|
|
|
// Created: 2006-11-08
|
|
|
|
// Copyright: (c) 2006 Julian Smart
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_XH_RICHTEXT_H_
|
|
|
|
#define _WX_XH_RICHTEXT_H_
|
|
|
|
|
|
|
|
#include "wx/xrc/xmlres.h"
|
|
|
|
|
|
|
|
#if wxUSE_XRC && wxUSE_RICHTEXT
|
|
|
|
|
2012-10-23 09:51:32 -04:00
|
|
|
class WXDLLIMPEXP_RICHTEXT wxRichTextCtrlXmlHandler : public wxXmlResourceHandler
|
2006-11-08 10:45:11 -05:00
|
|
|
{
|
2015-04-23 07:49:01 -04:00
|
|
|
wxDECLARE_DYNAMIC_CLASS(wxRichTextCtrlXmlHandler);
|
2006-11-08 10:45:11 -05:00
|
|
|
|
|
|
|
public:
|
|
|
|
wxRichTextCtrlXmlHandler();
|
2015-09-06 20:20:42 -04:00
|
|
|
virtual wxObject *DoCreateResource() wxOVERRIDE;
|
|
|
|
virtual bool CanHandle(wxXmlNode *node) wxOVERRIDE;
|
2006-11-08 10:45:11 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // wxUSE_XRC && wxUSE_RICHTEXT
|
|
|
|
|
|
|
|
#endif // _WX_XH_RICHTEXT_H_
|