]> git.saurik.com Git - wxWidgets.git/commit
Fix order of arguments in wxOSX/Carbon wxListCtrl::ScrollList().
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 30 Oct 2010 19:01:10 +0000 (19:01 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 30 Oct 2010 19:01:10 +0000 (19:01 +0000)
commitc9c4274adc464db0c3de728c906fa1f27c6a3dd8
treeb42b73389aee58fd88ebb6cc1108c7874872adc5
parent0645bd388cbd7c046c341adfcbe6a17ab2e3f77c
Fix order of arguments in wxOSX/Carbon wxListCtrl::ScrollList().

wxMacDataBrowserTableViewControl::SetScrollPosition() takes "top" and "left"
arguments so swap "dx" and "dy" parameters being passed to it.

It might be better to fix SetScrollPosition() to follow the more natural (at
least from wx point of view) convention and as it's used in only a few places
this wouldn't be difficult to do. But let's keep the changes to this code to
the minimum for now.

Closes #12339.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/osx/carbon/listctrl_mac.cpp