Make overridden subtitle language option respect OK/Cancel.
[dcpomatic.git] / src / wx / content_advanced_dialog.h
index 3c2454449b742c8addeda51f7b998544a35a5a04..93a90ba618180bbe7532d350444ab3fca928f17a 100644 (file)
@@ -19,6 +19,7 @@
 */
 
 
+#include <dcp/language_tag.h>
 #include <dcp/warnings.h>
 LIBDCP_DISABLE_WARNINGS
 #include <wx/wx.h>
@@ -45,6 +46,7 @@ public:
        }
 
        boost::optional<double> video_frame_rate() const;
+       boost::optional<dcp::LanguageTag> burnt_subtitle_language() const;
 
 private:
        void edit_filters ();
@@ -54,7 +56,6 @@ private:
        void video_frame_rate_changed ();
        void setup_sensitivity ();
        void burnt_subtitle_changed ();
-       void burnt_subtitle_language_changed ();
 
        std::shared_ptr<Content> _content;
        bool _filters_allowed = false;