X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/670f9935630beb2123a5ca62894ae92a3f0efa4f..b2458f311b426717c4d36b51aed2595a59f373d9:/src/common/cshelp.cpp diff --git a/src/common/cshelp.cpp b/src/common/cshelp.cpp index 82f3383652..f1433c3bed 100644 --- a/src/common/cshelp.cpp +++ b/src/common/cshelp.cpp @@ -227,7 +227,8 @@ bool wxContextHelp::DispatchEvent(wxWindow* win, const wxPoint& pt) bool eventProcessed = false; while (subjectOfHelp && !eventProcessed) { - wxHelpEvent helpEvent(wxEVT_HELP, subjectOfHelp->GetId(), pt) ; + wxHelpEvent helpEvent(wxEVT_HELP, subjectOfHelp->GetId(), pt, + wxHelpEvent::Origin_HelpButton); helpEvent.SetEventObject(subjectOfHelp); eventProcessed = win->GetEventHandler()->ProcessEvent(helpEvent);