Set C++ global locale too in wxAppTraitsBase::SetLocale().
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 22 Oct 2012 15:51:49 +0000 (15:51 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 22 Oct 2012 15:51:49 +0000 (15:51 +0000)
commitfe24e4e9c297776351b0a6b8beafd9c7c3433148
treee798b5491a2e3baadcd9ebf3d2bd9101e4fbab03
parent988f7eec77d3a6cbc08980252a0349b3c6be7bf4
Set C++ global locale too in wxAppTraitsBase::SetLocale().

Ensure that C++ locale matches the C one, otherwise operations on C++ streams
may get much slower because some implementations (notable MinGW-64) change and
reset the C locale on every function call in this case.

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