Text style fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2039,7 +2039,7 @@ void wxRichTextCtrl::DoWriteText(const wxString& value, int flags)
|
|||||||
{
|
{
|
||||||
wxString valueUnix = wxTextFile::Translate(value, wxTextFileType_Unix);
|
wxString valueUnix = wxTextFile::Translate(value, wxTextFileType_Unix);
|
||||||
|
|
||||||
GetBuffer().InsertTextWithUndo(m_caretPosition+1, valueUnix, this);
|
GetBuffer().InsertTextWithUndo(m_caretPosition+1, valueUnix, this, wxRICHTEXT_INSERT_WITH_PREVIOUS_PARAGRAPH_STYLE);
|
||||||
|
|
||||||
if ( flags & SetValue_SendEvent )
|
if ( flags & SetValue_SendEvent )
|
||||||
SendTextUpdatedEvent();
|
SendTextUpdatedEvent();
|
||||||
|
Reference in New Issue
Block a user