From 14722c43c30918cd8fbba956b50ac3426d2fe339 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 9 Sep 2012 13:37:06 +0000 Subject: [PATCH] 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 --- src/richtext/richtextstyles.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/richtext/richtextstyles.cpp b/src/richtext/richtextstyles.cpp index 328c84e727..9e0a84a177 100644 --- a/src/richtext/richtextstyles.cpp +++ b/src/richtext/richtextstyles.cpp @@ -709,7 +709,7 @@ int wxRichTextStyleListBox::SetStyleSelection(const wxString& name) { SetSelection(i); if (!IsVisible(i)) - ScrollToLine(i); + ScrollToRow(i); } return i; }