Replaced lots of ANSI/ASCII strings with their

Unicode equivalents, i.e. I put wxT() arounf
    them in lots of places.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2002-10-29 21:48:06 +00:00
parent 0ab495989d
commit 54b25889d2
52 changed files with 554 additions and 475 deletions

View File

@@ -113,14 +113,14 @@ wxString wxDataInputStream::ReadString()
char *tmp = new char[len + 1];
m_input->Read(tmp, len);
tmp[len] = 0;
wxString s(tmp, m_conv);
wxString ret( (const wxChar*) m_conv.cMB2WX(tmp) );
delete[] tmp;
#else
wxString s;
wxString ret;
m_input->Read(s.GetWriteBuf(len), len);
s.UngetWriteBuf();
ret.UngetWriteBuf();
#endif
return s;
return ret;
}
else
return wxEmptyString;