]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/utilscmn.cpp
FALSE not false
[wxWidgets.git] / src / common / utilscmn.cpp
index a3b74371c12eac378d306569b288fbefd1fb035c..92dabe4d64811f59f925758ed7a8ac76c6810ac1 100644 (file)
@@ -72,7 +72,6 @@
     #include "wx/notebook.h"
     #include "wx/frame.h"
     #include "wx/statusbr.h"
-    #include "wx/toolbar.h"
 #endif // wxUSE_GUI
 
 #include <time.h>
@@ -1295,7 +1294,7 @@ static long wxDoExecuteWithCapture(const wxString& command,
     wxProcess *process = new wxProcess;
     process->Redirect();
 
-    long rc = wxExecute(command, TRUE /* sync */, process);
+    long rc = wxExecute(command, wxEXEC_SYNC, process);
 
 #if wxUSE_STREAMS
     if ( rc != -1 )