]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/cshelp.cpp
Give wxListBox a GetClassDefaultAttributes so wxCalendarCtrl (and
[wxWidgets.git] / src / common / cshelp.cpp
index a7da4a1cf5b9f07053cc1ffdfe2e7bdbd71619de..2ae62269b1fb6db4f7aa9163048a7747fe11456e 100644 (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);