Fix for #4696: added SetDefaultStyleToCursorStyle() to SetInsertionPoint() so style is taken from context, not the style at a previous location.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2009-09-22 16:36:58 +00:00
parent 140d93c024
commit 4427f297a6

View File

@ -2516,6 +2516,8 @@ void wxRichTextCtrl::SetInsertionPoint(long pos)
m_caretPosition = pos - 1;
PositionCaret();
SetDefaultStyleToCursorStyle();
}
void wxRichTextCtrl::SetInsertionPointEnd()