Update CRT environment in wxSetEnv() for MinGW too.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 3 Oct 2010 17:16:09 +0000 (17:16 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 3 Oct 2010 17:16:09 +0000 (17:16 +0000)
commit1b2f7b6d75886325b818d46b8c6250b4d6431ccc
tree897c93ad84df44350380d5e10247ed91feb518bf
parent43f8864bb00185868360e34f8e4b2a5458255785
Update CRT environment in wxSetEnv() for MinGW too.

MinGW uses the same CRT as MSVC so we can use the same _putenv() call for it
too. This ensures that wxGetenv() returns the value updated by wxSetEnv() and
fixes CrtTestCase::SetGetEnv() unit test when using MinGW.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
interface/wx/utils.h
src/msw/utils.cpp