X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/33de8c70f34211721e7e07e715369e5cda095a0c..c9c537e6b06e7ca0160de52b7a91901aef0381e0:/docs/latex/wx/function.tex diff --git a/docs/latex/wx/function.tex b/docs/latex/wx/function.tex index 7addfe5654..78ae7251df 100644 --- a/docs/latex/wx/function.tex +++ b/docs/latex/wx/function.tex @@ -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}