X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/be8d847d4a69226adf2bca4c3ab06065d69dbcf4..4d8209b9070ea7120078e83a648f3627e57bc15a:/src/richtext/richtextstyles.cpp 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; }