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:
@@ -354,6 +354,16 @@ WXDLLEXPORT FILE * wxFreopen(const wxChar *path, const wxChar *mode, FILE *strea
|
|||||||
return freopen(wxConvFile.cWX2MB(path), wxConvLibc.cWX2MB(mode), stream);
|
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, ...)
|
int WXDLLEXPORT wxPrintf(const wxChar *fmt, ...)
|
||||||
{
|
{
|
||||||
va_list argptr;
|
va_list argptr;
|
||||||
|
Reference in New Issue
Block a user