]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/filefn.cpp
Blob support fixes - still does not work, but getting there
[wxWidgets.git] / src / common / filefn.cpp
index 293e8e787c7bd3b430cbc6deee1f8e5bd9a4f50d..4cfc2036a1ae32872942498038db8053feafaf73 100644 (file)
@@ -1003,7 +1003,7 @@ wxCopyFile (const wxString& file1, const wxString& file2, bool overwrite)
     // instead of our code if available
     //
     // NB: 3rd parameter is bFailIfExists i.e. the inverse of overwrite
-    return ::CopyFile(file1, file2, !overwrite);
+    return ::CopyFile(file1, file2, !overwrite) != 0;
 #else // !Win32
     wxStructStat fbuf;