From 33c2a4b7e228d9f7680d54a8b5171ee8b6ce0687 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 4 Apr 2007 02:00:32 +0000 Subject: [PATCH] call SetEventObject() for wxHtmlLinkEvents we generate git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45243 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 -- 2.45.2