From: Julian Smart Date: Thu, 24 Jan 2008 22:43:39 +0000 (+0000) Subject: Update caret in SetInsertionPoint X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6f5d63bcb0f2b54a5d3b8a2ae4573727bb415bb4 Update caret in SetInsertionPoint git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/richtext/richtextctrl.cpp b/src/richtext/richtextctrl.cpp index 6acea71f6c..c5ac3408e9 100644 --- a/src/richtext/richtextctrl.cpp +++ b/src/richtext/richtextctrl.cpp @@ -2238,6 +2238,8 @@ void wxRichTextCtrl::SetInsertionPoint(long pos) SelectNone(); m_caretPosition = pos - 1; + + PositionCaret(); } void wxRichTextCtrl::SetInsertionPointEnd()