added overwrite parameter to wxRenameFile (patch 1467041)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1215,10 +1215,14 @@ Removes \arg{file}, returning true if successful.
|
||||
|
||||
\membersection{::wxRenameFile}\label{wxrenamefile}
|
||||
|
||||
\func{bool}{wxRenameFile}{\param{const wxString\& }{file1}, \param{const wxString\& }{file2}}
|
||||
\func{bool}{wxRenameFile}{\param{const wxString\& }{file1}, \param{const wxString\& }{file2}, \param{bool overwrite = true}}
|
||||
|
||||
Renames \arg{file1} to \arg{file2}, returning true if successful.
|
||||
|
||||
If \arg{overwrite} parameter is true (default), the destination file is
|
||||
overwritten if it exists, but if \arg{overwrite} is false, the functions fails
|
||||
in this case.
|
||||
|
||||
|
||||
\membersection{::wxRmdir}\label{wxrmdir}
|
||||
|
||||
|
Reference in New Issue
Block a user