X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e436c454e17774eba4c79e0d5d9d056448d96a20..4681a3ea0d0502ec7a787bc4dd24e43718a02b7c:/src/msw/utils.cpp diff --git a/src/msw/utils.cpp b/src/msw/utils.cpp index a456a3417a..a002517d25 100644 --- a/src/msw/utils.cpp +++ b/src/msw/utils.cpp @@ -303,7 +303,7 @@ bool wxGetUserName(wxChar *buf, int maxSize) // Get the computer name of a DC for the domain. if ( NetGetDCName( NULL, wszDomain, &ComputerName ) != NERR_Success ) { - wxLogError(wxT("Can not find domain controller")); + wxLogError(wxT("Cannot find domain controller")); goto error; } @@ -627,7 +627,7 @@ bool wxDoSetEnv(const wxString& var, const wxChar *value) // // TODO: add checks for the other compilers (and update wxSetEnv() // documentation in interface/wx/utils.h accordingly) -#if defined(__VISUALC__) +#if defined(__VISUALC__) || defined(__MINGW32__) // notice that Microsoft _putenv() has different semantics from POSIX // function with almost the same name: in particular it makes a copy of the // string instead of using it as part of environment so we can safely call