From 95be621f729bdc6512d8da4fd17d6d6c1c0cddf0 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 4 Apr 2007 02:04:23 +0000 Subject: [PATCH] call SetEventObject() for wxHtmlLinkEvents we generate [backport from HEAD] git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/html/htmlwin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/html/htmlwin.cpp b/src/html/htmlwin.cpp index 9478914c41..75e39a8ba7 100644 --- a/src/html/htmlwin.cpp +++ b/src/html/htmlwin.cpp @@ -953,6 +953,7 @@ bool wxHtmlWindow::CopySelection(ClipboardType t) void wxHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link) { wxHtmlLinkEvent event(GetId(), link); + event.SetEventObject(this); if (!GetEventHandler()->ProcessEvent(event)) { // the default behaviour is to load the URL in this window