]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/function.tex
better Wait/Delete() docs (patch 1434085)
[wxWidgets.git] / docs / latex / wx / function.tex
index 7addfe5654ee8e9ae216ab4072c41ea77bc53b10..78ae7251dfd37702c37bc2bde11a2b4f02200b52 100644 (file)
@@ -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}