]> git.saurik.com Git - wxWidgets.git/blobdiff - src/richtext/richtextbuffer.cpp
delete the associated wxStaticBox in wxStaticBoxSizer dtor (patch 1473769)
[wxWidgets.git] / src / richtext / richtextbuffer.cpp
index 9c98c0a17b8f70de22e1b66698b60622225edf9e..3f714632a4c7d42857426186adfb8ea5dc1faa8c 100644 (file)
@@ -3854,7 +3854,7 @@ bool wxRichTextBuffer::PasteFromClipboard(long position)
                 wxTextDataObject data;
                 wxTheClipboard->GetData(data);
                 wxString text(data.GetText());
-                 text.Replace(_T("\r\n"), _T("\n"));
+                text.Replace(_T("\r\n"), _T("\n"));
 
                 InsertTextWithUndo(position+1, text, GetRichTextCtrl());