From: Vadim Zeitlin Date: Fri, 13 Jul 2007 14:49:58 +0000 (+0000) Subject: compilation fix for DoReadBinary() in STL build X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/50257dba061011e25aa2a89b477c3b4c9da112a1?ds=sidebyside compilation fix for DoReadBinary() in STL build git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/fileconf.cpp b/src/common/fileconf.cpp index 65fc44e0a7..229e7a8b8d 100644 --- a/src/common/fileconf.cpp +++ b/src/common/fileconf.cpp @@ -926,7 +926,7 @@ bool wxFileConfig::DoReadBinary(const wxString& key, wxMemoryBuffer* buf) const if ( !Read(key, &str) ) return false; - *buf = wxBase64Decode(str); + *buf = wxBase64Decode(str.ToAscii()); return true; }