]> git.saurik.com Git - wxWidgets.git/commit - src/generic/scrlwing.cpp
Generate scroll events for key presses in wxScrolledWindow.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 5 Aug 2009 17:25:14 +0000 (17:25 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 5 Aug 2009 17:25:14 +0000 (17:25 +0000)
commite2495f725c6686edbcb1682ed957117ad68a6249
tree5d78de4a99fb6a06738f0961192fd3f84cf4e11f
parenta58804eae1b3d836e7276ab7a84f9e25b27ae2ae
Generate scroll events for key presses in wxScrolledWindow.

Don't duplicate the existing wxScrolledWindow::CalcScrollInc() logic in
HandleOnChar(), simply generate scrolling events from it, this simplifies the
code and ensures that it is more correct.

Closes #11070.

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