]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix wxGenericListCtrl scrolling by not processing the events twice.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 25 Nov 2012 23:18:20 +0000 (23:18 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 25 Nov 2012 23:18:20 +0000 (23:18 +0000)
Scrolling wxGenericListCtrl was broken since r72939 because its OnScroll()
event handler explicitly called wxScrollHelper::HandleOnScroll() which was
also called by the base class ProcessEvent().

Arguably, wxScrollHelper::ProcessEvent() should be updated to allow handling
events directly like this by not processing it again if the event wasn't
skipped but for now just do skip the event and let the default handling take
place which at least makes wxGenericListCtrl work correctly again.

Closes #14852.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775


No differences found