]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/deprecated/wxexpr.cpp
Warning fixes after recent library changes.
[wxWidgets.git] / contrib / src / deprecated / wxexpr.cpp
index 3f30116607095e571e25ee9f875062345d5d6319..457a60aab6db3a8e912194402a62a12187dbd566 100644 (file)
@@ -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;