[ wxwindows-Patches-1760939 ] Locale info on Mac using CFLocale

SourceForge.net noreply at sourceforge.net
Sun Nov 4 08:01:30 PST 2007


Patches item #1760939, was opened at 2007-07-26 12:38
Message generated for change (Comment added) made by vadz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=309863&aid=1760939&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Mac specific
Group: bug fix
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: yoavgo (yoavgo)
Assigned to: Stefan Csomor (csomor)
Summary: Locale info on Mac using CFLocale

Initial Comment:
Implementation of CFLocale::GetInfo for wxMac. The implementation is based on CFLocale rather than on localeconv; it is only relevant for OSX 10.3 and above.

Notes:

1) Since AFAIK there are no separate decimal point and thousands separator for "numbers" and "money" on Mac, the second argument (of type wxLocaleCategory) is not used.

2) I'm not sure about the conversion from CFStringRef to wxString. I copied the use of wxMacCFStringHolder.AsString from somewhere else.



----------------------------------------------------------------------

>Comment By: Vadim Zeitlin (vadz)
Date: 2007-11-04 17:01

Message:
Logged In: YES 
user_id=71618
Originator: NO

I hoped that Stefan or David would be able to look at this but as nobody
did I finally decided to commit it on my own. Please let me know if I broke
anything...

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=309863&aid=1760939&group_id=9863




More information about the wx-dev mailing list