X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7c74e7fe1de14f32dcd6f3c9cdd727de540bbd0e..9cf99fc093f9c45b6b5d8d8b357699d826c9916a:/src/common/ffile.cpp 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