git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9722
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// instead of our code if available
//
// NB: 3rd parameter is bFailIfExists i.e. the inverse of 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;
#else // !Win32
wxStructStat fbuf;