summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-03-20 21:17:05 +0100
committerCarl Hetherington <cth@carlh.net>2022-03-20 21:17:05 +0100
commit257a1724acf91d24a7a1b5df691e3fe0c045d481 (patch)
tree4ae516a15d81110489932a8844a82ce3aa7d7db6
parent7bc591abc86ed4742f21f45ca1d6151cb14bc100 (diff)
Call wxSetlocale the same way we call setlocale to possibly fix #2218.2218-locale
-rw-r--r--src/wx/wx_util.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wx/wx_util.cc b/src/wx/wx_util.cc
index fad3779bd..5f3769d21 100644
--- a/src/wx/wx_util.cc
+++ b/src/wx/wx_util.cc
@@ -429,6 +429,8 @@ dcpomatic_setup_i18n ()
if (locale) {
dcpomatic_setup_gettext_i18n (wx_to_std (locale->GetCanonicalName ()));
}
+
+ wxSetlocale (LC_ALL, "");
}