Compilation fix for wxCStrData handling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -75,7 +75,7 @@ static inline FIND_DATA FindFirst(
|
|||||||
FIND_DATA hDir = HDIR_CREATE;
|
FIND_DATA hDir = HDIR_CREATE;
|
||||||
FIND_ATTR rc;
|
FIND_ATTR rc;
|
||||||
|
|
||||||
rc = ::DosFindFirst( (PSZ)rsSpec.c_str()
|
rc = ::DosFindFirst( rsSpec.c_str()
|
||||||
,&hDir
|
,&hDir
|
||||||
,0x37 // was: FILE_NORMAL
|
,0x37 // was: FILE_NORMAL
|
||||||
,pFinddata
|
,pFinddata
|
||||||
|
@@ -157,7 +157,7 @@ bool wxShell( const wxString& rCommand )
|
|||||||
SData.PgmName = (char*)zShell;
|
SData.PgmName = (char*)zShell;
|
||||||
|
|
||||||
sInputs = _T("/C ") + rCommand;
|
sInputs = _T("/C ") + rCommand;
|
||||||
SData.PgmInputs = (BYTE*)sInputs.c_str();
|
SData.PgmInputs = (BYTE*)sInputs.char_str();
|
||||||
SData.TermQ = 0;
|
SData.TermQ = 0;
|
||||||
SData.Environment = 0;
|
SData.Environment = 0;
|
||||||
SData.InheritOpt = SSF_INHERTOPT_SHELL;
|
SData.InheritOpt = SSF_INHERTOPT_SHELL;
|
||||||
|
@@ -156,7 +156,7 @@ long wxExecute( const wxString& rCommand,
|
|||||||
,zArgs
|
,zArgs
|
||||||
,zEnvs
|
,zEnvs
|
||||||
,&vResultCodes
|
,&vResultCodes
|
||||||
,(PSZ)rCommand.c_str()
|
,rCommand.c_str()
|
||||||
);
|
);
|
||||||
if (rc != NO_ERROR)
|
if (rc != NO_ERROR)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user