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:
@@ -709,7 +709,7 @@ int wxRichTextStyleListBox::SetStyleSelection(const wxString& name)
|
|||||||
{
|
{
|
||||||
SetSelection(i);
|
SetSelection(i);
|
||||||
if (!IsVisible(i))
|
if (!IsVisible(i))
|
||||||
ScrollToLine(i);
|
ScrollToRow(i);
|
||||||
}
|
}
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user