* wxMemoryStreams updates
* Various fixes about wxGTK and Unicode * Various fixes in wxStreams git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#if wxUSE_STREAMS
|
||||
|
||||
#include "wx/txtstrm.h"
|
||||
#include <ctype.h>
|
||||
|
||||
wxTextInputStream::wxTextInputStream(wxInputStream& s)
|
||||
: m_input(&s)
|
||||
@@ -300,7 +301,7 @@ wxTextOutputStream& wxTextOutputStream::operator<<(const wxString& string)
|
||||
wxTextOutputStream& wxTextOutputStream::operator<<(wxChar c)
|
||||
{
|
||||
wxString tmp_str;
|
||||
tmp_str.Printf("%c", c);
|
||||
tmp_str.Printf(_T("%c"), c);
|
||||
WriteString(tmp_str);
|
||||
return *this;
|
||||
}
|
||||
|
Reference in New Issue
Block a user