X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/094112e92e5fe50fddbd576c0c11ffefb3ab1328..c57c2993ecaa4acf32585f18e0185ea00bb34981:/src/common/cshelp.cpp 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);