summaryrefslogtreecommitdiff
path: root/src/wx/dcp_panel.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-03-20 23:43:34 +0100
committerCarl Hetherington <cth@carlh.net>2025-03-24 16:59:24 +0100
commit816a7b7a9d9c3cae7565cec139bf28068853f94d (patch)
tree718644b178b68fd03e2b1ea18c7bec96da5de4e4 /src/wx/dcp_panel.cc
parente93b66f4236ec25dbd0603bbe74c904b53180e91 (diff)
Basic support for variable-Z 3D subtitles.
Diffstat (limited to 'src/wx/dcp_panel.cc')
-rw-r--r--src/wx/dcp_panel.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/dcp_panel.cc b/src/wx/dcp_panel.cc
index 0f0edc971..aeddb2a8d 100644
--- a/src/wx/dcp_panel.cc
+++ b/src/wx/dcp_panel.cc
@@ -484,7 +484,7 @@ DCPPanel::film_changed(FilmProperty p)
{
auto al = _film->audio_language();
checked_set (_enable_audio_language, static_cast<bool>(al));
- checked_set (_audio_language, al ? std_to_wx(al->to_string()) : wxString{});
+ checked_set(_audio_language, al ? std_to_wx(al->as_string()) : wxString{});
setup_dcp_name ();
setup_sensitivity ();
_audio_panel_sizer->Layout();