]> git.saurik.com Git - wxWidgets.git/blame - include/wx/xrc/xh_hyperlink.h
correcting import/export (_adv gave linking errors)
[wxWidgets.git] / include / wx / xrc / xh_hyperlink.h
CommitLineData
17e91437 1/////////////////////////////////////////////////////////////////////////////
28583246 2// Name: wx/xrc/xh_hyperlink.h
17e91437
VZ
3// Purpose: Hyperlink control (wxAdv)
4// Author: David Norris <danorris@gmail.com>
5// Modified by: Ryan Norton, Francesco Montorsi
6// Created: 04/02/2005
7// RCS-ID: $Id$
8// Copyright: (c) 2005 David Norris
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_XH_HYPERLINKH__
13#define _WX_XH_HYPERLINKH__
14
17e91437
VZ
15#include "wx/xrc/xmlres.h"
16
dd47af27
VZ
17#if wxUSE_XRC && wxUSE_HYPERLINKCTRL
18
17e91437
VZ
19class WXDLLIMPEXP_XRC wxHyperlinkCtrlXmlHandler : public wxXmlResourceHandler
20{
dd47af27
VZ
21 // Register with wxWindows' dynamic class subsystem.
22 DECLARE_DYNAMIC_CLASS(wxHyperlinkCtrlXmlHandler)
23
17e91437
VZ
24public:
25 // Constructor.
26 wxHyperlinkCtrlXmlHandler();
27
28 // Creates the control and returns a pointer to it.
29 virtual wxObject *DoCreateResource();
30
31 // Returns true if we know how to create a control for the given node.
32 virtual bool CanHandle(wxXmlNode *node);
17e91437
VZ
33};
34
dd47af27
VZ
35#endif // wxUSE_XRC && wxUSE_HYPERLINKCTRL
36
17e91437 37#endif // _WX_XH_HYPERLINKH__