1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/xrc/xh_hyperlink.h
3 // Purpose: Hyperlink control (wxAdv)
4 // Author: David Norris <danorris@gmail.com>
5 // Modified by: Ryan Norton, Francesco Montorsi
8 // Copyright: (c) 2005 David Norris
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_XH_HYPERLINKH__
13 #define _WX_XH_HYPERLINKH__
17 #if wxUSE_HYPERLINKCTRL
19 #include "wx/hyperlink.h"
20 #include "wx/xrc/xmlres.h"
22 class WXDLLIMPEXP_XRC wxHyperlinkCtrlXmlHandler
: public wxXmlResourceHandler
26 wxHyperlinkCtrlXmlHandler();
28 // Creates the control and returns a pointer to it.
29 virtual wxObject
*DoCreateResource();
31 // Returns true if we know how to create a control for the given node.
32 virtual bool CanHandle(wxXmlNode
*node
);
34 // Register with wxWindows' dynamic class subsystem.
35 DECLARE_DYNAMIC_CLASS(wxHyperlinkCtrlXmlHandler
)
38 #endif // wxUSE_HYPERLINKCTRL
39 #endif // _WX_XH_HYPERLINKH__