mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-27 19:17:06 +08:00
Merge branch 'locale-script-fixes'
Improve handling of the "script" part of the locale, notably fixing zh-Hans-CN locale support under macOS. See #24399.
This commit is contained in:
@@ -387,6 +387,18 @@ MyFrame::MyFrame()
|
||||
),
|
||||
wxSizerFlags().Center().Border());
|
||||
|
||||
topSizer->Add(new wxStaticText
|
||||
(
|
||||
panel,
|
||||
wxID_ANY,
|
||||
wxString::Format
|
||||
(
|
||||
_("Preferred UI languages: [%s]"),
|
||||
wxJoin(wxUILocale::GetPreferredUILanguages(), ',')
|
||||
)
|
||||
),
|
||||
wxSizerFlags().Center().Border());
|
||||
|
||||
// create some controls affected by the locale
|
||||
|
||||
// this demonstrates RTL layout mirroring for Arabic locales and using
|
||||
|
||||
Reference in New Issue
Block a user