add support for resources forks in wxCopyFile() (modified patch 1620336)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-04-07 18:23:57 +00:00
parent 7816e624f3
commit 0597e7f977
3 changed files with 87 additions and 28 deletions

View File

@@ -1178,10 +1178,12 @@ true if successful.
\func{bool}{wxCopyFile}{\param{const wxString\& }{file1}, \param{const wxString\& }{file2}, \param{bool }{overwrite = true}}
Copies {\it file1} to {\it file2}, returning true if successful. If
{\it overwrite} parameter is true (default), the destination file is overwritten
if it exists, but if {\it overwrite} is false, the functions fails in this
{\it overwrite} parameter is \true (default), the destination file is overwritten
if it exists, but if {\it overwrite} is \false, the functions fails in this
case.
This function supports resources forks under Mac OS.
\membersection{::wxGetCwd}\label{wxgetcwd}