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; }