From af33c0ec5f817ca4285cd9ef6f3285cf31e320dd Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Fri, 15 Feb 2008 15:41:57 +0000 Subject: [PATCH] Set default attributes after a SetSelection git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/richtext/richtextctrl.cpp | 1 + 1 file changed, 1 insertion(+) 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)) -- 2.47.2