More enum class additions.
[dcpomatic.git] / src / wx / closed_captions_dialog.cc
index c23c2902b017064fe7015be6d58aa591c35bba25..f2528a00f72eda67d8ee72a637384899c61b4861 100644 (file)
@@ -239,7 +239,7 @@ ClosedCaptionsDialog::update_tracks (shared_ptr<const Film> film)
 
        for (auto i: film->content()) {
                for (auto j: i->text) {
-                       if (j->use() && j->type() == TEXT_CLOSED_CAPTION && j->dcp_track()) {
+                       if (j->use() && j->type() == TextType::CLOSED_CAPTION && j->dcp_track()) {
                                if (find(_tracks.begin(), _tracks.end(), j->dcp_track()) == _tracks.end()) {
                                        _tracks.push_back (*j->dcp_track());
                                }