]> git.saurik.com Git - wxWidgets.git/blobdiff - src/richtext/richtextfontpage.cpp
svn not cvs
[wxWidgets.git] / src / richtext / richtextfontpage.cpp
index d2b5c8b067d64c56e1dfe1c402e032d325e39513..1324dab7f1234ba00349127a9b67138a579a6fd8 100644 (file)
@@ -622,7 +622,7 @@ void wxRichTextFontPage::OnFaceTextCtrlUpdated( wxCommandEvent& WXUNUSED(event)
             {
                 if (arr[i].Mid(0, facename.Length()).Lower() == facename.Lower())
                 {
             {
                 if (arr[i].Mid(0, facename.Length()).Lower() == facename.Lower())
                 {
-                    m_faceListBox->ScrollToLine(i);
+                    m_faceListBox->ScrollToRow(i);
                     break;
                 }
             }
                     break;
                 }
             }