X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/181dd701faf12eb62d2572dddca5af72cbd04022..bad6c5e264fe9a7ac9e931d071d72acdabb3401e:/src/common/filefn.cpp diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index ca0d92a863..cc9f2c89b0 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -131,7 +131,7 @@ const int wxInvalidOffset = -1; // regardless of the mode parameter. This hack works around the problem by // setting the mode with _wchmod. // -int wxCRT_Open(const wchar_t *pathname, int flags, mode_t mode) +int wxCRT_OpenW(const wchar_t *pathname, int flags, mode_t mode) { int moreflags = 0; @@ -1279,7 +1279,7 @@ bool wxMkdir(const wxString& dir, int perm) #else // !MSW, !DOS and !OS/2 VAC++ wxUnusedVar(perm); #ifdef __WXWINCE__ - if ( CreateDirectory(dir, NULL) == 0 ) + if ( CreateDirectory(dir.fn_str(), NULL) == 0 ) #else if ( wxMkDir(dir.fn_str()) != 0 ) #endif @@ -1304,7 +1304,7 @@ bool wxRmdir(const wxString& dir, int WXUNUSED(flags)) #if defined(__OS2__) if ( ::DosDeleteDir(dir.c_str()) != 0 ) #elif defined(__WXWINCE__) - if ( RemoveDirectory(dir) == 0 ) + if ( RemoveDirectory(dir.fn_str()) == 0 ) #else if ( wxRmDir(dir.fn_str()) != 0 ) #endif