From 6fefc28dde1169077f848e63c2ac96fc6769c58e Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sun, 4 Jul 2004 11:13:59 +0000 Subject: [PATCH] Should set event object to relevant window when dispatching wxEVT_HELP git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/cshelp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/cshelp.cpp b/src/common/cshelp.cpp index a7da4a1cf5..2ae62269b1 100644 --- a/src/common/cshelp.cpp +++ b/src/common/cshelp.cpp @@ -232,7 +232,7 @@ bool wxContextHelp::DispatchEvent(wxWindow* win, const wxPoint& pt) while (subjectOfHelp && !eventProcessed) { wxHelpEvent helpEvent(wxEVT_HELP, subjectOfHelp->GetId(), pt) ; - helpEvent.SetEventObject(this); + helpEvent.SetEventObject(subjectOfHelp); eventProcessed = win->GetEventHandler()->ProcessEvent(helpEvent); -- 2.45.2