X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/69ce77e25a8c6b3b1682b2f9ae7aeac1cecb4e6a..5bf3f27fc91ff3288000c0134ac4bdfdf2e7db4f:/src/richtext/richtextfontpage.cpp?ds=inline diff --git a/src/richtext/richtextfontpage.cpp b/src/richtext/richtextfontpage.cpp index d2b5c8b067..1324dab7f1 100644 --- a/src/richtext/richtextfontpage.cpp +++ b/src/richtext/richtextfontpage.cpp @@ -622,7 +622,7 @@ void wxRichTextFontPage::OnFaceTextCtrlUpdated( wxCommandEvent& WXUNUSED(event) { if (arr[i].Mid(0, facename.Length()).Lower() == facename.Lower()) { - m_faceListBox->ScrollToLine(i); + m_faceListBox->ScrollToRow(i); break; } }