2010-10-20 19:11:20 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: wx/xrc/xh_cmdlinkbn.h
|
|
|
|
// Purpose: XML resource handler for command link buttons
|
|
|
|
// Author: Kinaou Herve
|
|
|
|
// Created: 2010-10-20
|
|
|
|
// Copyright: (c) 2010 wxWidgets development team
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_XH_CMDLINKBN_H_
|
|
|
|
#define _WX_XH_CMDLINKBN_H_
|
|
|
|
|
|
|
|
#include "wx/xrc/xmlres.h"
|
|
|
|
|
|
|
|
#if wxUSE_XRC && wxUSE_COMMANDLINKBUTTON
|
|
|
|
|
|
|
|
class WXDLLIMPEXP_XRC wxCommandLinkButtonXmlHandler : public wxXmlResourceHandler
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
wxCommandLinkButtonXmlHandler();
|
|
|
|
|
2015-09-06 20:20:42 -04:00
|
|
|
virtual wxObject *DoCreateResource() wxOVERRIDE;
|
|
|
|
virtual bool CanHandle(wxXmlNode *node) wxOVERRIDE;
|
2010-10-20 19:11:20 -04:00
|
|
|
|
|
|
|
private:
|
|
|
|
wxDECLARE_DYNAMIC_CLASS(wxCommandLinkButtonXmlHandler);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // wxUSE_XRC && wxUSE_COMMANDLINKBUTTON
|
|
|
|
|
|
|
|
#endif // _WX_XH_CMDLINKBN_H_
|