]> git.saurik.com Git - wxWidgets.git/commit
Force wide char environment version initialization in wxGetEnvMap().
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 30 Jun 2012 16:33:40 +0000 (16:33 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 30 Jun 2012 16:33:40 +0000 (16:33 +0000)
commit6f41c10973643552837c6bd38b23779e65a2eaa3
tree06e2247f795f682f25b71dda46760914d040c875
parenta523d3c64391034906973857908bdf1d3a82d0cb
Force wide char environment version initialization in wxGetEnvMap().

When using MSVC CRT, the wide character version of the environment is not
always initialized when using main() (and not _wmain()) as entry point, so
force initializing it before using _tenviron.

Closes #14231.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/utilscmn.cpp