2006-05-28 13:41:09 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
2006-05-29 03:23:02 -04:00
|
|
|
// Name: wx/xrc/xh_hyperlink.h
|
2006-05-28 13:41:09 -04:00
|
|
|
// Purpose: Hyperlink control (wxAdv)
|
|
|
|
// Author: David Norris <danorris@gmail.com>
|
|
|
|
// Modified by: Ryan Norton, Francesco Montorsi
|
|
|
|
// Created: 04/02/2005
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Copyright: (c) 2005 David Norris
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_XH_HYPERLINKH__
|
|
|
|
#define _WX_XH_HYPERLINKH__
|
|
|
|
|
|
|
|
#include "wx/xrc/xmlres.h"
|
|
|
|
|
2006-10-03 10:53:40 -04:00
|
|
|
#if wxUSE_XRC && wxUSE_HYPERLINKCTRL
|
|
|
|
|
2006-05-28 13:41:09 -04:00
|
|
|
class WXDLLIMPEXP_XRC wxHyperlinkCtrlXmlHandler : public wxXmlResourceHandler
|
|
|
|
{
|
2006-10-03 10:53:40 -04:00
|
|
|
// Register with wxWindows' dynamic class subsystem.
|
|
|
|
DECLARE_DYNAMIC_CLASS(wxHyperlinkCtrlXmlHandler)
|
|
|
|
|
2006-05-28 13:41:09 -04:00
|
|
|
public:
|
|
|
|
// Constructor.
|
|
|
|
wxHyperlinkCtrlXmlHandler();
|
|
|
|
|
|
|
|
// Creates the control and returns a pointer to it.
|
|
|
|
virtual wxObject *DoCreateResource();
|
|
|
|
|
|
|
|
// Returns true if we know how to create a control for the given node.
|
|
|
|
virtual bool CanHandle(wxXmlNode *node);
|
|
|
|
};
|
|
|
|
|
2006-10-03 10:53:40 -04:00
|
|
|
#endif // wxUSE_XRC && wxUSE_HYPERLINKCTRL
|
|
|
|
|
2006-05-28 13:41:09 -04:00
|
|
|
#endif // _WX_XH_HYPERLINKH__
|