Lots of Unix/Unicode compile fixes, some of which

are just #ifdef 0 such as the wxExecute calls
    in gdcps.cpp.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2002-08-05 18:04:08 +00:00
parent d7a7bd6d27
commit 401eb3dec2
28 changed files with 121 additions and 48 deletions

View File

@@ -253,7 +253,11 @@ long wxExecute( const wxString& command, int flags, wxProcess *process )
argv[argc] = NULL;
// do execute the command
#if wxUSE_UNICODE
long lRc = -1;
#else
long lRc = wxExecute(argv, flags, process);
#endif
// clean up
argc = 0;
@@ -1105,9 +1109,9 @@ bool wxGetDiskSpace(const wxString& path, wxLongLong *pTotal, wxLongLong *pFree)
#if defined(HAVE_STATFS) || defined(HAVE_STATVFS)
// the case to "char *" is needed for AIX 4.3
wxStatFs fs;
if ( statfs((char *)path.fn_str(), &fs) != 0 )
if ( statfs((char *)(const char*)path.fn_str(), &fs) != 0 )
{
wxLogSysError("Failed to get file system statistics");
wxLogSysError( wxT("Failed to get file system statistics") );
return FALSE;
}