From: Julian Smart Date: Thu, 11 Jan 2007 13:54:29 +0000 (+0000) Subject: Write a newline, not a 10 into the stream X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/3d490242f0c41115c92c7fb40f0b91c49614ea9d Write a newline, not a 10 into the stream git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/docview/doc.cpp b/samples/docview/doc.cpp index 82ddbae73f..87a24dad4e 100644 --- a/samples/docview/doc.cpp +++ b/samples/docview/doc.cpp @@ -172,7 +172,7 @@ wxOutputStream &DoodleSegment::SaveObject(wxOutputStream& stream) wxTextOutputStream text_stream( stream ); wxInt32 n = lines.GetCount(); - text_stream << n << _T('\n'); + text_stream << n << _T("\n"); wxList::compatibility_iterator node = lines.GetFirst(); while (node)