X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ftext_panel.cc;fp=src%2Fwx%2Ftext_panel.cc;h=ff4e26a574fde15398a5ef5465d06ddc8178e404;hb=a3c1ae7c2e46b65347341896b3d1a505ff92632b;hp=805af2c238fa727dcc5fd4495bce235e0151c6d9;hpb=af5b9dfadf8989311cd5f78554349f0283912522;p=dcpomatic.git diff --git a/src/wx/text_panel.cc b/src/wx/text_panel.cc index 805af2c23..ff4e26a57 100644 --- a/src/wx/text_panel.cc +++ b/src/wx/text_panel.cc @@ -40,6 +40,7 @@ #include "lib/decoder_factory.h" #include "lib/ffmpeg_content.h" #include "lib/ffmpeg_subtitle_stream.h" +#include "lib/film.h" #include "lib/job_manager.h" #include "lib/scope_guard.h" #include "lib/string_text_file_content.h" @@ -400,9 +401,9 @@ TextPanel::dcp_track_changed () void -TextPanel::film_changed (Film::Property property) +TextPanel::film_changed(FilmProperty property) { - if (property == Film::Property::CONTENT || property == Film::Property::REEL_TYPE || property == Film::Property::INTEROP) { + if (property == FilmProperty::CONTENT || property == FilmProperty::REEL_TYPE || property == FilmProperty::INTEROP) { setup_sensitivity (); } }