]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/docview/doc.cpp
Always rearrange wxListBook and send out size event, otherwise scrollbar overlaps...
[wxWidgets.git] / samples / docview / doc.cpp
index 82ddbae73f4e69214f4b2edfc46ae50c94c23f61..87a24dad4e9e6988ff5844f4f7d89c23ce97e169 100644 (file)
@@ -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)