]> git.saurik.com Git - wxWidgets.git/commitdiff
call SetEventObject() for wxHtmlLinkEvents we generate
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 4 Apr 2007 02:00:32 +0000 (02:00 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 4 Apr 2007 02:00:32 +0000 (02:00 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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