]> git.saurik.com Git - wxWidgets.git/commit
Yet another fix to event propagation in scrolled windows.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 21 May 2010 12:07:45 +0000 (12:07 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 21 May 2010 12:07:45 +0000 (12:07 +0000)
commit52212bcb4a89cd0b784c93b5bc860308bd91c457
tree2a3a5d936cb696c6c1be65d026cf581ff267811a
parent74035a191ba1bbb5210289a3fc0a30e3595ede0a
Yet another fix to event propagation in scrolled windows.

Calling ProcessEventLocally() didn't work because the command events were not
propagated to the parent window any more, breaking a lot of things including
wxDataViewCtrl event generation in the generic version. So do restore
ProcessEvent() call but use it on the next handler (i.e. the window itself)
and not this one now. This still results in some duplicate calls but at least
the events should be passed everywhere where they are expected to arrive.

wxScrollHelperEvtHandler must die.

Closes #12078.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/generic/scrlwing.cpp
tests/events/propagation.cpp