]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/fileconf.cpp
added wxSockAddress copy ctor which, in particular, fixes Clone() and fixed its opera...
[wxWidgets.git] / src / common / fileconf.cpp
index 9b3412c6d95cdc7b34aee2ec59de634b7a6012eb..aede4fa65551289b76179436c410a3c32689875a 100644 (file)
@@ -549,9 +549,9 @@ wxFileConfig::wxFileConfig(wxInputStream &inStream)
 
         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);
     }