Fallback implementation of wxRemove and wxRename

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ove Kaaven
2000-04-08 15:48:23 +00:00
parent 36777af9e0
commit da4912c332

View File

@@ -354,6 +354,16 @@ WXDLLEXPORT FILE * wxFreopen(const wxChar *path, const wxChar *mode, FILE *strea
return freopen(wxConvFile.cWX2MB(path), wxConvLibc.cWX2MB(mode), stream);
}
WXDLLEXPORT int wxRemove(const wxChar *path)
{
return remove(wxConvFile.cWX2MB(path));
}
WXDLLEXPORT int wxRename(const wxChar *oldpath, const wxChar *newpath)
{
return rename(wxConvFile.cWX2MB(oldpath), wxConvFile.cWX2MB(newpath));
}
int WXDLLEXPORT wxPrintf(const wxChar *fmt, ...)
{
va_list argptr;