]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/utilsexc.cpp
using native key handling, closes #10406
[wxWidgets.git] / src / os2 / utilsexc.cpp
index 909da35a3ac07828bcd16692616d5474b3dc4ee2..c50a311691f10f3c4bc540e3b5bda7ff5fc4dc97 100644 (file)
     #include "wx/utils.h"
     #include "wx/app.h"
     #include "wx/intl.h"
+    #include "wx/log.h"
 #endif
 
-#include "wx/log.h"
-
 #include "wx/process.h"
 
 #include "wx/os2/private.h"
@@ -157,7 +156,7 @@ long wxExecute( const wxString& rCommand,
                       ,zArgs
                       ,zEnvs
                       ,&vResultCodes
-                      ,(PSZ)rCommand.c_str()
+                      ,rCommand.c_str()
                      );
     if (rc != NO_ERROR)
     {