X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4aa31786746fc9858c34bbfc67867fabbf9e8c1f..f9007c324c9b4f6288156dcf0b865090ee0c0c38:/src/html/helpfrm.cpp?ds=sidebyside diff --git a/src/html/helpfrm.cpp b/src/html/helpfrm.cpp index d01ec35ffb..5191e19ecd 100644 --- a/src/html/helpfrm.cpp +++ b/src/html/helpfrm.cpp @@ -113,7 +113,9 @@ class wxHtmlHelpHtmlWindow : public wxHtmlWindow virtual void OnLinkClicked(const wxHtmlLinkInfo& link) { wxHtmlWindow::OnLinkClicked(link); - m_Frame->NotifyPageChanged(); + const wxMouseEvent *e = link.GetEvent(); + if (e == NULL || e->LeftUp()) + m_Frame->NotifyPageChanged(); } private: