#pragma hdrstop
#endif
-#if wxUSE_FILE
+#if wxUSE_FFILE
#ifndef WX_PRECOMP
#include "wx/intl.h"
tmp_fname = new char[fname_len];
wxWX2MB(tmp_fname, filename, fname_len);
-#if defined(__WXMAC__) && !defined(__UNIX__)
- m_fp = fopen(wxUnix2MacFilename( tmp_fname ), mode);
-#else
m_fp = fopen(tmp_fname, mode);
-#endif
delete tmp_fname;
-#else
-#if defined(__WXMAC__) && !defined(__UNIX__)
- m_fp = fopen(wxUnix2MacFilename( filename ), mode);
#else
m_fp = fopen(filename, mode);
#endif
-#endif
if ( !m_fp )
return (size_t)-1;
}
-#endif // wxUSE_FILE
+#endif // wxUSE_FFILE