]> git.saurik.com Git - wxWidgets.git/blame - include/wx/xrc/xh_hyperlink.h
Don't define __STRICT_ANSI__, we should build both with and without it.
[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
17e91437
VZ
7// Copyright: (c) 2005 David Norris
8// Licence: wxWindows licence
9/////////////////////////////////////////////////////////////////////////////
10
11#ifndef _WX_XH_HYPERLINKH__
12#define _WX_XH_HYPERLINKH__
13
17e91437
VZ
14#include "wx/xrc/xmlres.h"
15
dd47af27
VZ
16#if wxUSE_XRC && wxUSE_HYPERLINKCTRL
17
17e91437
VZ
18class WXDLLIMPEXP_XRC wxHyperlinkCtrlXmlHandler : public wxXmlResourceHandler
19{
dd47af27
VZ
20 // Register with wxWindows' dynamic class subsystem.
21 DECLARE_DYNAMIC_CLASS(wxHyperlinkCtrlXmlHandler)
22
17e91437
VZ
23public:
24 // Constructor.
25 wxHyperlinkCtrlXmlHandler();
26
27 // Creates the control and returns a pointer to it.
28 virtual wxObject *DoCreateResource();
29
30 // Returns true if we know how to create a control for the given node.
31 virtual bool CanHandle(wxXmlNode *node);
17e91437
VZ
32};
33
dd47af27
VZ
34#endif // wxUSE_XRC && wxUSE_HYPERLINKCTRL
35
17e91437 36#endif // _WX_XH_HYPERLINKH__