Fix example of creating wxUILocale in its documentation
There are several ways to do it, and it's not clear which one of them should be illustrated here, but it should definitely be one that works. Closes #22389.
This commit is contained in:
@@ -116,9 +116,10 @@ public:
|
||||
|
||||
In the simplest case, this can be used as following:
|
||||
@code
|
||||
const wxUILocale loc(wxLocaleIdent("fr"));
|
||||
const wxUILocale loc(wxLocaleIdent().Language("fr"));
|
||||
@endcode
|
||||
see wxLocaleIdent description for more details.
|
||||
see wxLocaleIdent description for more details, including other ways of
|
||||
specifying the locale.
|
||||
|
||||
If @a localeId is not recognized or not supported, default ("C") locale
|
||||
is used instead. Additionally, if @a localeId is empty (see
|
||||
|
||||
Reference in New Issue
Block a user