From c6f158dfbbc666f9eb441c1be1ec3a530073d415 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 24 Jan 2008 22:43:22 +0000 Subject: [PATCH] Update caret in SetInsertionPoint git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/richtext/richtextctrl.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/richtext/richtextctrl.cpp b/src/richtext/richtextctrl.cpp index 5a68ce5254..9b7a47ae1e 100644 --- a/src/richtext/richtextctrl.cpp +++ b/src/richtext/richtextctrl.cpp @@ -2224,6 +2224,8 @@ void wxRichTextCtrl::SetInsertionPoint(long pos) SelectNone(); m_caretPosition = pos - 1; + + PositionCaret(); } void wxRichTextCtrl::SetInsertionPointEnd()