From a7ad2611f33165ef9daa0e566640b43e4f03cb83 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 22 Nov 2001 00:58:09 +0000 Subject: [PATCH] fix for Unicode build git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/fileconf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/fileconf.cpp b/src/common/fileconf.cpp index 9b3412c6d9..88376df785 100644 --- a/src/common/fileconf.cpp +++ b/src/common/fileconf.cpp @@ -549,7 +549,7 @@ 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()); -- 2.45.2