X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..b6a20a20d010d643e52914f51aa0700df0da925f:/src/common/cshelp.cpp?ds=inline 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);