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:
parent
1f3d991197
commit
08bee49e39
@ -75,7 +75,7 @@ static inline FIND_DATA FindFirst(
|
||||
FIND_DATA hDir = HDIR_CREATE;
|
||||
FIND_ATTR rc;
|
||||
|
||||
rc = ::DosFindFirst( (PSZ)rsSpec.c_str()
|
||||
rc = ::DosFindFirst( rsSpec.c_str()
|
||||
,&hDir
|
||||
,0x37 // was: FILE_NORMAL
|
||||
,pFinddata
|
||||
|
@ -157,7 +157,7 @@ bool wxShell( const wxString& rCommand )
|
||||
SData.PgmName = (char*)zShell;
|
||||
|
||||
sInputs = _T("/C ") + rCommand;
|
||||
SData.PgmInputs = (BYTE*)sInputs.c_str();
|
||||
SData.PgmInputs = (BYTE*)sInputs.char_str();
|
||||
SData.TermQ = 0;
|
||||
SData.Environment = 0;
|
||||
SData.InheritOpt = SSF_INHERTOPT_SHELL;
|
||||
|
@ -156,7 +156,7 @@ long wxExecute( const wxString& rCommand,
|
||||
,zArgs
|
||||
,zEnvs
|
||||
,&vResultCodes
|
||||
,(PSZ)rCommand.c_str()
|
||||
,rCommand.c_str()
|
||||
);
|
||||
if (rc != NO_ERROR)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user