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