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