]> git.saurik.com Git - wxWidgets.git/commit - src/generic/scrlwing.cpp
Applied patch from Ticket #9563. Use just the rectangle of the widget with the focus...
authorRobin Dunn <robin@alldunn.com>
Wed, 9 Jul 2008 01:37:32 +0000 (01:37 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 9 Jul 2008 01:37:32 +0000 (01:37 +0000)
commit3ec704b4221ee4d66ebb1cb98f1dc1017f68bec3
tree83032902e50f87eafd01e05082a0e992d006b57d
parent6cecf398fb4e00704cd527a7890fd81899c29e20
Applied patch from Ticket #9563.  Use just the rectangle of the widget with the focus when deciding if scrolling is needed, instead of the rect of the parent of the widget/child of the target window.  This fixes some flickering when a panel of widgets is used inside the scrolled window, and also a total lack of scrolling if the focused widget is out of view but the upper-left corner of the panel is in view.

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