]> git.saurik.com Git - wxWidgets.git/commit
Don't change horizontal scroll position needlessly in wxDataViewCtrl.
authorVáclav Slavík <vslavik@fastmail.fm>
Wed, 14 Dec 2011 15:53:28 +0000 (15:53 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Wed, 14 Dec 2011 15:53:28 +0000 (15:53 +0000)
commiteff1c3e8ec093b83b61d04d543d8ff37792a31f2
treecf9a80434a813a7c140d7517475a4081e2809528
parent78e18e8d531520da97daa326f014c03b04db534f
Don't change horizontal scroll position needlessly in wxDataViewCtrl.

When ScrollTo() or EnsureVisible() was called in the generic
wxDataViewCtrl implementation with unspecified column, horizontal scroll
position was reset to left-most position, which doesn't make much sense.
Instead, leave horizontal position unchanged in this case and only
change it when explicitly requested.

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