Use wxLocaleIdent in Unix wxLocale and wxUILocale code

No real changes, just prefer using wxLocaleIdent to strings in a few
places.
This commit is contained in:
Vadim Zeitlin
2021-09-05 00:42:09 +02:00
parent 6f4dd01b5b
commit c7ad052c71
3 changed files with 54 additions and 37 deletions

View File

@@ -28,7 +28,7 @@ inline wxString ExtractNotLang(const wxString& langFull)
return wxString();
}
const char *wxSetlocaleTryAll(int c, const wxString& lc);
const char *wxSetlocaleTryAll(int c, const wxLocaleIdent& lc);
// Extract date format from D_T_FMT value.
wxString wxGetDateFormatOnly(const wxString& fmt);