X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4430ec36d1707fa18b28590bceb5d5d7cacbc337..3030ae493df7500fd5da7555f141c0c8a690bd8a:/contrib/src/deprecated/wxexpr.cpp diff --git a/contrib/src/deprecated/wxexpr.cpp b/contrib/src/deprecated/wxexpr.cpp index 3f30116607..c1345a610e 100644 --- a/contrib/src/deprecated/wxexpr.cpp +++ b/contrib/src/deprecated/wxexpr.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "wxexpr.h" -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" @@ -1072,7 +1068,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 +1100,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;