]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmlwin.cpp
compilation fixes for PCH-less build
[wxWidgets.git] / src / html / htmlwin.cpp
index 9478914c41b99d5e5ba37d1d2a5e77dba9e1750c..75e39a8ba7a98d727fb7237c1b2be7d98732f59d 100644 (file)
@@ -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