// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifndef _WX_HYPERLINK_H__
-#define _WX_HYPERLINK_H__
+#ifndef _WX_HYPERLINK_H_
+#define _WX_HYPERLINK_H_
#include "wx/defs.h"
// wxWindow::Get/SetFont, wxWindow::Get/SetCursor are important !
protected:
-#ifdef __WXDEBUG__
+ virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
+
// checks for validity some of the ctor/Create() function parameters
void CheckParams(const wxString& label, const wxString& url, long style);
-#else
- void CheckParams() {}
-#endif
public:
// not part of the public API but needs to be public as used by
void SendEvent();
};
+#ifndef __WXDEBUG__
+inline void wxHyperlinkCtrlBase::CheckParams(const wxString&, const wxString&, long) { }
+#endif
// ----------------------------------------------------------------------------
// wxHyperlinkEvent
-#if defined(__WXGTK210__)
+#if defined(__WXGTK210__) && !defined(__WXUNIVERSAL__)
#include "wx/gtk/hyperlink.h"
#else
#include "wx/generic/hyperlink.h"
#endif // wxUSE_HYPERLINKCTRL
-#endif // _WX_HYPERLINK_H__
+#endif // _WX_HYPERLINK_H_