]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for wxUSE_STL==1
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 30 May 2009 11:46:15 +0000 (11:46 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 30 May 2009 11:46:15 +0000 (11:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/utils.cpp

index b254d8d47fe15475ddd54a925f88236d97006357..7779e616da28a2f1f06e872ffe3ba126f85bcd0e 100644 (file)
@@ -623,7 +623,7 @@ bool wxDoSetEnv(const wxString& var, const wxChar *value)
     envstr += '=';
     if ( value )
         envstr += value;
-    _putenv(envstr);
+    _tputenv(envstr.t_str());
 #else // other compiler
     if ( !::SetEnvironmentVariable(var.t_str(), value) )
     {