-static const wxChar WX_SECTION[] = _T("wxWidgets");
-static const wxChar eHOSTNAME[] = _T("HostName");
+static const wxChar WX_SECTION[] = wxT("wxWidgets");
+static const wxChar eHOSTNAME[] = wxT("HostName");
// For the following functions we SHOULD fill in support
// for Windows-NT (which I don't know) as I assume it begin
// For the following functions we SHOULD fill in support
// for Windows-NT (which I don't know) as I assume it begin
- if ((zSysname = wxGetenv(_T("SYSTEM_NAME"))) == NULL &&
- (zSysname = wxGetenv(_T("HOSTNAME"))) == NULL)
+ if ((zSysname = wxGetenv(wxT("SYSTEM_NAME"))) == NULL &&
+ (zSysname = wxGetenv(wxT("HOSTNAME"))) == NULL)
return setenv(variable.mb_str(), value, 1 /* overwrite */) == 0;
#elif defined(HAVE_PUTENV)
wxString s = variable;
if ( value )
return setenv(variable.mb_str(), value, 1 /* overwrite */) == 0;
#elif defined(HAVE_PUTENV)
wxString s = variable;
if ( value )
rc = ::DosQueryFSInfo(disknum, // 1 = A, 2 = B, 3 = C, ...
FSIL_ALLOC, // allocation info
rc = ::DosQueryFSInfo(disknum, // 1 = A, 2 = B, 3 = C, ...
FSIL_ALLOC, // allocation info
// * (num of sectors per alloc unit) * (num of bytes per sector)
(*pTotal) *= fsaBuf.cSectorUnit * fsaBuf.cbSector;
}
// * (num of sectors per alloc unit) * (num of bytes per sector)
(*pTotal) *= fsaBuf.cSectorUnit * fsaBuf.cbSector;
}