X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7c74e7fe1de14f32dcd6f3c9cdd727de540bbd0e..5283098e1316b4a811fbccaabbda71f676e86c93:/src/common/ffile.cpp?ds=sidebyside diff --git a/src/common/ffile.cpp b/src/common/ffile.cpp index 4bca0e0e2e..3e405491ee 100644 --- a/src/common/ffile.cpp +++ b/src/common/ffile.cpp @@ -28,7 +28,7 @@ #pragma hdrstop #endif -#if wxUSE_FILE +#if wxUSE_FFILE #ifndef WX_PRECOMP #include "wx/intl.h" @@ -64,20 +64,12 @@ bool wxFFile::Open(const wxChar *filename, const char *mode) tmp_fname = new char[fname_len]; wxWX2MB(tmp_fname, filename, fname_len); -#ifdef __WXMAC__ - m_fp = fopen(wxUnix2MacFilename( tmp_fname ), mode); -#else m_fp = fopen(tmp_fname, mode); -#endif delete tmp_fname; -#else -#ifdef __WXMAC__ - m_fp = fopen(wxUnix2MacFilename( filename ), mode); #else m_fp = fopen(filename, mode); #endif -#endif if ( !m_fp ) @@ -258,4 +250,4 @@ size_t wxFFile::Length() const return (size_t)-1; } -#endif // wxUSE_FILE +#endif // wxUSE_FFILE