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
This commit is contained in:
Julian Smart
2004-07-04 11:13:59 +00:00
parent 387fd89d8c
commit 6fefc28dde

View File

@@ -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);