wxLOCALE_DECIMAL_POINT always comma on wx2.9

Riccardo Cohen rcohen at articque.com
Mon Jan 28 07:23:06 PST 2008


Thanks a lot, I'll try and tell you (as soon as I get the latest svn)

Vadim Zeitlin wrote:
> On Mon, 28 Jan 2008 15:18:51 +0100 Riccardo Cohen <rcohen at articque.com> wrote:
> 
> RC> intl.cpp header is
> RC> 
> RC> // RCS-ID:      $Id: init.cpp 50455 2007-12-03 10:21:44Z RR $
> 
>  The bug fix was in rev 51136 so you don't have it. Please update and try
> again.
> 
> RC> The function called is ::GetLocaleInfo(), and in the code, the locale id 
> RC> provided to the function is LOCALE_USER_DEFAULT, while a new locale id 
> RC> should be given thanks to DWORD MAKELCID(WORD wLanguageID,  WORD 
> RC> wSortID); as written in the MS doc.
> 
>  This is what the latest version is supposed to do.
> 
> RC> For macos :
> RC> 
> RC> the function called is CFLocaleGetValue() and the locale id is 
> RC> CFLocaleCopyCurrent(), while it seems to be quite easy to use 
> RC> application defined locale :
> RC> CFStringRef localeIdent = CFSTR("fr_FR");
> RC> CFLocaleRef localeRef = CFLocaleCreate(kCFAllocatorDefault, localeIdent);
> 
>  The question is what to use instead of "fr_FR". It could be either
> wxGetLocale()->GetCanonicalName() or GetSysName(). If you can test if
> either of them works and submit a patch changing this, it would be great.
> 
>  TIA,
> VZ
> 

-- 
Très cordialement,

Riccardo Cohen
-------------------------------------------
Articque
http://www.articque.com
149 av Général de Gaulle
37230 Fondettes - France
tel : 02-47-49-90-49
fax : 02-47-49-91-49




More information about the wx-users mailing list