Further optimizations

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2008-04-24 11:44:13 +00:00
parent c9630cbcf5
commit 3bc1747441
2 changed files with 51 additions and 16 deletions

View File

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