ProcessEvent() vs. GetEventHandler()->ProcessEvent()

Mattia Barbon mattia.barbon at libero.it
Sun Apr 1 08:08:19 PDT 2007


  Hi,
I was trying to figure out why some events were not processed by an
event handled pushed on a wxTreeCtrl (GTK+, so wxGenericTreeCtrl) and
I found that some calls to ProcessEvent() were done directly on the
tree control and not using GetEventHandler()->ProcessEvent().

  Are there cases where not calling GetEventhandler()->ProcessEvent()
is the correct thing to do?  If not I will gladly submit a patch
to change all instances of that.

Regards,
Mattia





More information about the wx-dev mailing list