]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxrc/wxrc.cpp
Remove rightarr.cur which doesn't exist any more from files list.
[wxWidgets.git] / utils / wxrc / wxrc.cpp
index 8fc4ee0ac57945e9ff65ac90ab70f4b1bd9a3571..3b26f9d4c926fb3efd55e544f0260fe35f0bdfc7 100644 (file)
@@ -356,7 +356,8 @@ void XmlResApp::CompileRes()
 {
     wxArrayString files = PrepareTempFiles();
 
-    wxRemoveFile(parOutput);
+    if ( wxFileExists(parOutput) )
+        wxRemoveFile(parOutput);
 
     if (!retCode)
     {