Call wxSetlocale the same way we call setlocale to possibly fix #2218. 2218-locale
authorCarl Hetherington <cth@carlh.net>
Sun, 20 Mar 2022 20:17:05 +0000 (21:17 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 20 Mar 2022 20:17:05 +0000 (21:17 +0100)
src/wx/wx_util.cc

index fad3779bd07ed5339ff96b7915a897ba3ae12307..5f3769d2109cb1ae9297f79eaf7480e5d7031ea7 100644 (file)
@@ -429,6 +429,8 @@ dcpomatic_setup_i18n ()
        if (locale) {
                dcpomatic_setup_gettext_i18n (wx_to_std (locale->GetCanonicalName ()));
        }
+
+       wxSetlocale (LC_ALL, "");
 }