X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/17a1ebd101f0653e69736416a2a28d0ada423141..e319bb30f7e88242f56144fcc279b57047566a6b:/src/common/ffile.cpp?ds=sidebyside diff --git a/src/common/ffile.cpp b/src/common/ffile.cpp index 3422506621..997bf03d2b 100644 --- a/src/common/ffile.cpp +++ b/src/common/ffile.cpp @@ -31,6 +31,10 @@ #include "wx/log.h" #endif +#ifdef __WINDOWS__ +#include "wx/msw/mslu.h" +#endif + #include "wx/ffile.h" // ============================================================================ @@ -99,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") );