Fix deprecating warning introduced in r72446.

Use wxVScrolledWindow::ScrollToRow() instead of the old and ambiguous
ScrollToLine() which is only preserved for compatibility reasons.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2012-09-09 13:37:06 +00:00
parent 2eb92b0da8
commit 14722c43c3

View File

@ -709,7 +709,7 @@ int wxRichTextStyleListBox::SetStyleSelection(const wxString& name)
{
SetSelection(i);
if (!IsVisible(i))
ScrollToLine(i);
ScrollToRow(i);
}
return i;
}