diff --git a/include/wx/filefn.h b/include/wx/filefn.h index 7301cc6d5a..3c31ff8c8e 100644 --- a/include/wx/filefn.h +++ b/include/wx/filefn.h @@ -81,16 +81,16 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxEmptyString; #define wxOpen _wopen #define wxAccess _waccess - #define wxMkdir _wmkdir - #define wxRmdir _wrmdir + #define wxMkDir _wmkdir + #define wxRmDir _wrmdir #define wxStat _wstat #else // !wxUSE_UNICODE #define wxOpen _open #define wxAccess _access - #define wxMkdir _mkdir - #define wxRmdir _rmdir + #define wxMkDir _mkdir + #define wxRmDir _rmdir #define wxStat _stat #endif diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index 52b5a9e23c..6d779fe86a 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -1083,7 +1083,7 @@ bool wxMkdir(const wxString& dir, int perm) #elif defined(__WXPM__) if (::DosCreateDir((PSZ)dir, NULL)) != 0) // enhance for EAB's?? #else // !MSW and !OS/2 VAC++ - if ( wxMkdir(wxFNSTRINGCAST wxFNCONV(dirname)) != 0 ) + if ( wxMkDir(wxFNSTRINGCAST wxFNCONV(dirname)) != 0 ) #endif // !MSW/MSW { wxLogSysError(_("Directory '%s' couldn't be created"), dirname); @@ -1108,7 +1108,7 @@ bool wxRmdir(const wxString& dir, int WXUNUSED(flags)) #ifdef __SALFORDC__ return FALSE; // What to do? #else - return (wxRmdir(wxFNSTRINGCAST dir.fn_str()) == 0); + return (wxRmDir(wxFNSTRINGCAST dir.fn_str()) == 0); #endif #endif