From: Julian Smart Date: Fri, 15 Feb 2008 15:41:57 +0000 (+0000) Subject: Set default attributes after a SetSelection X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/af33c0ec5f817ca4285cd9ef6f3285cf31e320dd Set default attributes after a SetSelection git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/richtext/richtextctrl.cpp b/src/richtext/richtextctrl.cpp index bf9a7d4f12..885a055858 100644 --- a/src/richtext/richtextctrl.cpp +++ b/src/richtext/richtextctrl.cpp @@ -2305,6 +2305,7 @@ void wxRichTextCtrl::SetSelection(long from, long to) } DoSetSelection(from, to); + SetDefaultStyleToCursorStyle(); } void wxRichTextCtrl::DoSetSelection(long from, long to, bool WXUNUSED(scrollCaret))