git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41467
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void wxRichTextCtrl::DoWriteText(const wxString& value, bool WXUNUSED(selectionOnly))
{
void wxRichTextCtrl::DoWriteText(const wxString& value, bool WXUNUSED(selectionOnly))
{
- GetBuffer().InsertTextWithUndo(m_caretPosition+1, value, this);
+ wxString valueDos = wxTextFile::Translate(value, wxTextFileType_Unix);
+ GetBuffer().InsertTextWithUndo(m_caretPosition+1, valueDos, this);
}
void wxRichTextCtrl::AppendText(const wxString& text)
}
void wxRichTextCtrl::AppendText(const wxString& text)