Support wxLOCALE_THOUSANDS_SEP in wxMSW wxLocale::GetInfo().

Simply use ::GetLocaleInfo(LOCALE_STHOUSAND) for it.

Closes #12643.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2010-11-03 16:29:06 +00:00
parent a987bdfa22
commit f4f3c8f3bb

View File

@@ -1425,6 +1425,11 @@ wxString wxLocale::GetInfo(wxLocaleInfo index, wxLocaleCategory WXUNUSED(cat))
switch ( index )
{
case wxLOCALE_THOUSANDS_SEP:
if ( ::GetLocaleInfo(lcid, LOCALE_STHOUSAND, buf, WXSIZEOF(buf)) )
str = buf;
break;
case wxLOCALE_DECIMAL_POINT:
if ( ::GetLocaleInfo(lcid, LOCALE_SDECIMAL, buf, WXSIZEOF(buf)) )
str = buf;