From 3d490242f0c41115c92c7fb40f0b91c49614ea9d Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 11 Jan 2007 13:54:29 +0000 Subject: [PATCH] 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 --- samples/docview/doc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/docview/doc.cpp b/samples/docview/doc.cpp index 82ddbae..87a24da 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) -- 2.7.4