]> git.saurik.com Git - wxWidgets.git/commit
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)
commita28882ab8bb5b47b4089d3c894b41ad4afcadcc6
tree89d7e80bc4e75d8831c702d7d5737cd63861be2a
parent4b5a12ecea0b35b83f4f1e918f2c5cf6cfa451b9
Fix wxGenericListCtrl scrolling by not processing the events twice.

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
src/generic/listctrl.cpp