]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for DoReadBinary() in STL build
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 13 Jul 2007 14:49:58 +0000 (14:49 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 13 Jul 2007 14:49:58 +0000 (14:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/fileconf.cpp

index 65fc44e0a7ae9c90517052fa0a7fb7f7ad9f48ce..229e7a8b8d55109357947f3b0fe000647de8574a 100644 (file)
@@ -926,7 +926,7 @@ bool wxFileConfig::DoReadBinary(const wxString& key, wxMemoryBuffer* buf) const
     if ( !Read(key, &str) )
         return false;
 
     if ( !Read(key, &str) )
         return false;
 
-    *buf = wxBase64Decode(str);
+    *buf = wxBase64Decode(str.ToAscii());
     return true;
 }
 
     return true;
 }