]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/execmon/execmon.cpp
wxRTC: save and load the 'shown' status in case there's a situation where layout...
[wxWidgets.git] / utils / execmon / execmon.cpp
index dbc824ec4b2922efbd6ba44b4e7f022ade580070..0fc6965f29975167c0958a085a9e79c19510e648 100644 (file)
@@ -4,9 +4,8 @@
 // Author:      Francesco Montorsi
 // Modified by:
 // Created:     25/3/09
-// RCS-ID:      $Id$
 // Copyright:   (c) 2009 Francesco Montorsi
-// Licence:     wxWindows license
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 // ============================================================================
@@ -35,6 +34,8 @@
 #include "wx/sstream.h"
 #include "wx/utils.h"
 #include "wx/filename.h"
+#include "wx/app.h"
+#include "wx/log.h"
 
 // ============================================================================
 // implementation
@@ -115,7 +116,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)...",