From: Václav Slavík Date: Tue, 31 Oct 2006 10:48:16 +0000 (+0000) Subject: fixed: clicking on links in the help view did nothing X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/325219cb26ca12c8b66e8cc3337730cb10bdaa70 fixed: clicking on links in the help view did nothing git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/html/helpwnd.cpp b/src/html/helpwnd.cpp index 38b185a6dd..9215711601 100644 --- a/src/html/helpwnd.cpp +++ b/src/html/helpwnd.cpp @@ -119,6 +119,10 @@ public: const wxMouseEvent *e = ev.GetLinkInfo().GetEvent(); if (e == NULL || e->LeftUp()) m_Window->NotifyPageChanged(); + + // skip the event so that normal processing (i.e. following the link) + // is done: + ev.Skip(); } // Returns full location with anchor (helper)