]> git.saurik.com Git - wxWidgets.git/commitdiff
Set default attributes after a SetSelection
authorJulian Smart <julian@anthemion.co.uk>
Fri, 15 Feb 2008 15:41:57 +0000 (15:41 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Fri, 15 Feb 2008 15:41:57 +0000 (15:41 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/richtext/richtextctrl.cpp

index bf9a7d4f12ddd0936d27980d0e9003ca9f572a57..885a055858305c1874f009f38692cb35bb8d49ba 100644 (file)
@@ -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))