]> git.saurik.com Git - wxWidgets.git/blobdiff - src/richtext/richtextstyles.cpp
re-enable drawing our own resize grip with GTK3, themes can (and do) disable the...
[wxWidgets.git] / src / richtext / richtextstyles.cpp
index 328c84e727e31763f4ef40a06fd90cf0ae9d5cb8..9e0a84a177ea121a9230fe6f3929744538f72a70 100644 (file)
@@ -709,7 +709,7 @@ int wxRichTextStyleListBox::SetStyleSelection(const wxString& name)
     {
         SetSelection(i);
         if (!IsVisible(i))
-            ScrollToLine(i);
+            ScrollToRow(i);
     }
     return i;
 }