]> 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 a0c7adf53ae8fc6390225d306de2fe4721ad44a8..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
 /////////////////////////////////////////////////////////////////////////////
 
 // ============================================================================
@@ -25,6 +24,8 @@
 #endif
 
 #ifndef WX_PRECOMP
+    #include "wx/app.h"
+    #include "wx/log.h"
 #endif // WX_PRECOMP
 
 #include "wx/cmdline.h"
@@ -33,6 +34,8 @@
 #include "wx/sstream.h"
 #include "wx/utils.h"
 #include "wx/filename.h"
+#include "wx/app.h"
+#include "wx/log.h"
 
 // ============================================================================
 // implementation
@@ -113,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)...",