]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/utils.cpp
use C++ compiler for va_copy test, at least under IRIX the C99 C compiler has it...
[wxWidgets.git] / src / os2 / utils.cpp
index 7fb53b78a362e1a573d8df3322aa725f3f9f89d5..5576bc9b82d55bbcb550e86522d83bb5cab2a0f5 100644 (file)
@@ -157,7 +157,7 @@ bool wxShell( const wxString& rCommand )
     SData.PgmName  = (char*)zShell;
 
     sInputs = _T("/C ") + rCommand;
-    SData.PgmInputs     = (BYTE*)sInputs.char_str();
+    SData.PgmInputs     = (BYTE*)sInputs.wx_str();
     SData.TermQ         = 0;
     SData.Environment   = 0;
     SData.InheritOpt    = SSF_INHERTOPT_SHELL;