Pass events around with ProcessEvent(), not AddPendingEvent().
authorVáclav Slavík <vslavik@fastmail.fm>
Mon, 5 Apr 2010 17:18:55 +0000 (17:18 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Mon, 5 Apr 2010 17:18:55 +0000 (17:18 +0000)
commit174b5c87bc478c169ed14c8fa267aca56a105cee
tree47ee90c1bf7f26b73c032e27b66089a1812cea13
parent293987e80c5be7aa499e2a3467bc5b57a0a43648
Pass events around with ProcessEvent(), not AddPendingEvent().

The latter adds the event for later processing. As a result, the event
appears to be processed to the caller, even if the handled it was passed
to called Skip() on it. ProcessEvent() doesn't suffer from this problem,
it may modify the event as expected.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/combocmn.cpp