X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/89220a94281cb6693464dafa4f562eaa9ae0d540..64f8f94ca0797f2d4a0c7daf34500ccc23c7d83e:/src/common/ffile.cpp diff --git a/src/common/ffile.cpp b/src/common/ffile.cpp index d34756376a..997bf03d2b 100644 --- a/src/common/ffile.cpp +++ b/src/common/ffile.cpp @@ -103,7 +103,7 @@ bool wxFFile::Close() // read/write // ---------------------------------------------------------------------------- -bool wxFFile::ReadAll(wxString *str, wxMBConv& conv) +bool wxFFile::ReadAll(wxString *str, const wxMBConv& conv) { wxCHECK_MSG( str, false, wxT("invalid parameter") ); wxCHECK_MSG( IsOpened(), false, wxT("can't read from closed file") );