Set default attributes after a SetSelection

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2008-02-15 15:41:57 +00:00
parent fcc7fdb689
commit af33c0ec5f

View 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))