mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-08-18 18:22:01 +08:00
Under certain circumstances it can make sense to use a locale other than the default user locale. One example would be, if an application wants to use a UI translation with an RTL language (like Arabic) on a non-RTL system. This wouldn't work with the default locale, because the layout direction would be wrong. Currently setting a non-default locale can already be achieved via wxLocale anyway. Therefore wxUILocale::UseLocaleName() should be made public, to allow for less side effects than using wxLocale. Closes #23972.