From 1dff8842020ef4d8eb9d5fd987a3902a38af8d95 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Fri, 15 Feb 2008 15:41:38 +0000 Subject: [PATCH] Set default attributes after a SetSelection git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51812 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 860700297c..a8275f2898 100644 --- a/src/richtext/richtextctrl.cpp +++ b/src/richtext/richtextctrl.cpp @@ -2291,6 +2291,7 @@ void wxRichTextCtrl::SetSelection(long from, long to) } DoSetSelection(from, to); + SetDefaultStyleToCursorStyle(); } void wxRichTextCtrl::DoSetSelection(long from, long to, bool WXUNUSED(scrollCaret))