warning fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-04-11 15:03:27 +00:00
parent 0715c838e9
commit 7a65650641

View 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;