projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added $Id$ to the header
[wxWidgets.git]
/
include
/
wx
/
xrc
/
xh_hyperlink.h
diff --git
a/include/wx/xrc/xh_hyperlink.h
b/include/wx/xrc/xh_hyperlink.h
index 407f5da223ca70cab6af8b81609dd2d64377be98..d4e6a49957dd93fe1360fefcc7325dff691c4528 100644
(file)
--- a/
include/wx/xrc/xh_hyperlink.h
+++ b/
include/wx/xrc/xh_hyperlink.h
@@
-12,15
+12,15
@@
#ifndef _WX_XH_HYPERLINKH__
#define _WX_XH_HYPERLINKH__
#ifndef _WX_XH_HYPERLINKH__
#define _WX_XH_HYPERLINKH__
-#include "wx/defs.h"
-
-#if wxUSE_HYPERLINKCTRL
-
-#include "wx/hyperlink.h"
#include "wx/xrc/xmlres.h"
#include "wx/xrc/xmlres.h"
+#if wxUSE_XRC && wxUSE_HYPERLINKCTRL
+
class WXDLLIMPEXP_XRC wxHyperlinkCtrlXmlHandler : public wxXmlResourceHandler
{
class WXDLLIMPEXP_XRC wxHyperlinkCtrlXmlHandler : public wxXmlResourceHandler
{
+ // Register with wxWindows' dynamic class subsystem.
+ DECLARE_DYNAMIC_CLASS(wxHyperlinkCtrlXmlHandler)
+
public:
// Constructor.
wxHyperlinkCtrlXmlHandler();
public:
// Constructor.
wxHyperlinkCtrlXmlHandler();
@@
-30,10
+30,8
@@
public:
// Returns true if we know how to create a control for the given node.
virtual bool CanHandle(wxXmlNode *node);
// Returns true if we know how to create a control for the given node.
virtual bool CanHandle(wxXmlNode *node);
-
- // Register with wxWindows' dynamic class subsystem.
- DECLARE_DYNAMIC_CLASS(wxHyperlinkCtrlXmlHandler)
};
};
-#endif // wxUSE_HYPERLINKCTRL
+#endif // wxUSE_XRC && wxUSE_HYPERLINKCTRL
+
#endif // _WX_XH_HYPERLINKH__
#endif // _WX_XH_HYPERLINKH__