X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e11898f903183f897a2b2a50a4447ea73ba7273f..f0e5a44df103e880f57416f483e8f3f4b4bc9651:/src/msw/mslu.cpp diff --git a/src/msw/mslu.cpp b/src/msw/mslu.cpp index eba45e13d7..f6f373a965 100644 --- a/src/msw/mslu.cpp +++ b/src/msw/mslu.cpp @@ -169,6 +169,14 @@ WXDLLIMPEXP_BASE int wxMSLU__tremove(const wxChar *name) return _tremove(name); } +WXDLLIMPEXP_BASE FILE* wxMSLU__tfopen(const wxChar *name,const wxChar* mode) +{ + if ( wxUsingUnicowsDll() ) + return fopen(wxConvFile.cWX2MB(name),wxConvFile.cWX2MB(mode)); + else + return _tfopen(name,mode); +} + #if defined( __VISUALC__ ) \ || ( defined(__MINGW32__) && wxCHECK_W32API_VERSION( 0, 5 ) ) \ || ( defined(__MWERKS__) && defined(__WXMSW__) ) \