Further optimizations

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2008-04-24 11:43:39 +00:00
parent 04458ef496
commit 109bfc88a4
3 changed files with 72 additions and 26 deletions

View File

@@ -1140,7 +1140,9 @@ bool wxRichTextCtrl::ScrollIntoView(long position, int keyCode)
}
}
}
PositionCaret();
if (scrolled)
PositionCaret();
return scrolled;
}