char buf[1024];
while ( !inStream.Read(buf, WXSIZEOF(buf)).Eof() )
- strTmp += wxString(buf, inStream.LastRead());
+ strTmp.append(wxConvertMB2WX(buf), inStream.LastRead());
- strTmp += wxString(buf, inStream.LastRead());
+ strTmp.append(wxConvertMB2WX(buf), inStream.LastRead());
strTrans = wxTextBuffer::Translate(strTmp);
}