]> git.saurik.com Git - wxWidgets.git/blobdiff - src/richtext/richtextbuffer.cpp
Added Set/GetQuickBestSize
[wxWidgets.git] / src / richtext / richtextbuffer.cpp
index 1c63998124ec3e65349c6391219abcb4fa967125..3f714632a4c7d42857426186adfb8ea5dc1faa8c 100644 (file)
@@ -3854,6 +3854,7 @@ bool wxRichTextBuffer::PasteFromClipboard(long position)
                 wxTextDataObject data;
                 wxTheClipboard->GetData(data);
                 wxString text(data.GetText());
+                text.Replace(_T("\r\n"), _T("\n"));
 
                 InsertTextWithUndo(position+1, text, GetRichTextCtrl());