X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3496ce18d119cbbb537003ba393a629e99f335d1..5b452409148f4f5932c7821ca7185ea0225fa164:/utils/wxrc/wxrc.cpp diff --git a/utils/wxrc/wxrc.cpp b/utils/wxrc/wxrc.cpp index 8fc4ee0ac5..3b26f9d4c9 100644 --- a/utils/wxrc/wxrc.cpp +++ b/utils/wxrc/wxrc.cpp @@ -356,7 +356,8 @@ void XmlResApp::CompileRes() { wxArrayString files = PrepareTempFiles(); - wxRemoveFile(parOutput); + if ( wxFileExists(parOutput) ) + wxRemoveFile(parOutput); if (!retCode) {