warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1003,7 +1003,7 @@ wxCopyFile (const wxString& file1, const wxString& file2, bool overwrite)
|
|||||||
// instead of our code if available
|
// instead of our code if available
|
||||||
//
|
//
|
||||||
// NB: 3rd parameter is bFailIfExists i.e. the inverse of overwrite
|
// NB: 3rd parameter is bFailIfExists i.e. the inverse of overwrite
|
||||||
return ::CopyFile(file1, file2, !overwrite);
|
return ::CopyFile(file1, file2, !overwrite) != 0;
|
||||||
#else // !Win32
|
#else // !Win32
|
||||||
wxStructStat fbuf;
|
wxStructStat fbuf;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user