summaryrefslogtreecommitdiff
path: root/src/wx/dcp_panel.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-05-06 17:52:51 +0200
committerCarl Hetherington <cth@carlh.net>2025-05-08 01:29:35 +0200
commit71f9236b03ef8934d28d291f1d9f248137448e72 (patch)
tree3d709612d0f826e841c7dea0aea09775c53bb917 /src/wx/dcp_panel.cc
parent05535846f69e16bc659b874bcafd02a8ee9e96e7 (diff)
Return std::string rather than wxString from Choice::get_data().
Diffstat (limited to 'src/wx/dcp_panel.cc')
-rw-r--r--src/wx/dcp_panel.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wx/dcp_panel.cc b/src/wx/dcp_panel.cc
index 8c5b4ec7e..2341bf043 100644
--- a/src/wx/dcp_panel.cc
+++ b/src/wx/dcp_panel.cc
@@ -186,19 +186,19 @@ DCPPanel::standard_changed()
return;
}
- if (*data == char_to_wx("interop")) {
+ if (*data == "interop") {
_film->set_interop(true);
_film->set_limit_to_smpte_bv20(false);
_film->set_video_encoding(VideoEncoding::JPEG2000);
- } else if (*data == char_to_wx("smpte")) {
+ } else if (*data == "smpte") {
_film->set_interop(false);
_film->set_limit_to_smpte_bv20(false);
_film->set_video_encoding(VideoEncoding::JPEG2000);
- } else if (*data == char_to_wx("smpte-bv20")) {
+ } else if (*data == "smpte-bv20") {
_film->set_interop(false);
_film->set_limit_to_smpte_bv20(true);
_film->set_video_encoding(VideoEncoding::JPEG2000);
- } else if (*data == char_to_wx("mpeg2-interop")) {
+ } else if (*data == "mpeg2-interop") {
_film->set_interop(true);
_film->set_video_encoding(VideoEncoding::MPEG2);
}