]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/execmon/execmon.cpp
Don't use a destroy event handler to disconnect the native control's delegate as...
[wxWidgets.git] / utils / execmon / execmon.cpp
index 00766ccd98427078ef167385d1728f80915137e4..646bb62242d49e5861f8fed558f0e94376ccc746 100644 (file)
@@ -117,7 +117,9 @@ bool TestExec(const wxVector<wxFileName>& programs, long timeout)
 
         long pid = wxExecute(programs[i].GetFullPath(), wxEXEC_ASYNC, &dt->process);
         if (pid == 0)
+        {
             wxLogError("could not run the program '%s'", programs[i].GetFullPath());
+        }
         else
         {
             wxLogMessage("started program '%s' (pid %d)...",