summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-04-15 20:47:51 +0200
committerCarl Hetherington <cth@carlh.net>2024-04-15 20:47:51 +0200
commit613145903b2893c25e5e70c92e9e0dbe367972c3 (patch)
tree370f971399e8cda1c0bee89c3bafde3f011f71fb
parent737777d56466ebb52db018f13c4261216c037e5a (diff)
fixup! Fix build on macOS 10.8 (wxWidgets 3.0.5).108
-rw-r--r--src/wx/wx_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/wx_util.cc b/src/wx/wx_util.cc
index d31820faa..58bb4d5ea 100644
--- a/src/wx/wx_util.cc
+++ b/src/wx/wx_util.cc
@@ -447,7 +447,7 @@ dcpomatic_setup_i18n()
#if wxCHECK_VERSION(3, 1, 6)
translations->SetLanguage(info->GetCanonicalWithRegion());
#else
- translations->SetLanguage(info->CanonicalRef.empty() ? info->CanonicalName : info->CanonicalRef);
+ translations->SetLanguage(info->CanonicalName);
#endif
}
}