]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/main.cpp
Add some version checks to help compiling on OSX.
[wxWidgets.git] / src / msw / main.cpp
index 552a864550a919c5ecff1f3ed13ce88f6009ba1f..3e4338ee9563b1cb1ff6e9170e6432a423a390a4 100644 (file)
@@ -333,8 +333,7 @@ struct wxMSWCommandLineArguments
             free(argv[i]);
         }
 
             free(argv[i]);
         }
 
-        delete [] argv;
-        argv = NULL;
+        wxDELETEA(argv);
         argc = 0;
     }
 
         argc = 0;
     }