Implement wxUILocale::GetMonthName() and wxUILocale::GetWeekDayName() in wxMSW, wxGTK, and wxOSX. Also extend the existing wxDateTime methods to support a 3rd month and weekday name representation (Name_Shortest) and a usage context (Context_Formatting and Context_Standalone). These changes make wxDateTime methods for getting the localized date and month names use the current UI locale, as set by wxUILocale, instead of the current C locale set by the standard C library function, which is a change in behaviour but a desired one and notably fixes the display of the months in generic calendar control in wxOSX where the current C locale is not changed when the UI locale is set. Replaces #23551. Closes #23191. |
||
|---|---|---|
| .. | ||
| msvc/wx | ||
| wx | ||