diff --git a/src/common/fileconf.cpp b/src/common/fileconf.cpp index 1144fd8327..00ab5bf924 100644 --- a/src/common/fileconf.cpp +++ b/src/common/fileconf.cpp @@ -927,7 +927,7 @@ bool wxFileConfig::DoReadBinary(const wxString& key, wxMemoryBuffer* buf) const if ( !Read(key, &str) ) return false; - *buf = wxBase64Decode(str.ToAscii()); + *buf = wxBase64Decode(str); return true; }