X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4430ec36d1707fa18b28590bceb5d5d7cacbc337..29b53ef977fd6c50da7915a659ed2e81a6e3c9bc:/contrib/src/deprecated/wxexpr.cpp diff --git a/contrib/src/deprecated/wxexpr.cpp b/contrib/src/deprecated/wxexpr.cpp index 3f30116607..457a60aab6 100644 --- a/contrib/src/deprecated/wxexpr.cpp +++ b/contrib/src/deprecated/wxexpr.cpp @@ -1072,7 +1072,7 @@ bool wxExprDatabase::Read(const wxString& filename) { noErrors = 0; - FILE *f = wxFopen(filename.fn_str(), _T("r")); + FILE *f = wxFopen(filename, _T("r")); if (f) { thewxExprDatabase = this; @@ -1104,7 +1104,7 @@ bool wxExprDatabase::ReadFromString(const wxString& buffer) bool wxExprDatabase::Write(const wxString& fileName) { - FILE *stream = wxFopen( fileName.fn_str(), _T("w+")); + FILE *stream = wxFopen( fileName, _T("w+")); if (!stream) return false;