Accessor for ClosedCaptionsDialog.
[dcpomatic.git] / src / wx / paste_dialog.cc
index 07a3b156c240bc94e88d471518e5cb07721a74d5..cd4518881131378a2232865b0a93f2fe6534324a 100644 (file)
 */
 
 #include "paste_dialog.h"
+#include "check_box.h"
 
-PasteDialog::PasteDialog (wxWindow* parent, bool video, bool audio, bool caption)
+PasteDialog::PasteDialog (wxWindow* parent, bool video, bool audio, bool text)
        : TableDialog (parent, _("Paste"), 1, 0, true)
 {
-       _video = new wxCheckBox (this, wxID_ANY, _("Paste video settings"));
+       _video = new CheckBox (this, _("Paste video settings"));
        _video->Enable (video);
        add (_video);
-       _audio = new wxCheckBox (this, wxID_ANY, _("Paste audio settings"));
+       _audio = new CheckBox (this, _("Paste audio settings"));
        _audio->Enable (audio);
        add (_audio);
-       _caption = new wxCheckBox (this, wxID_ANY, _("Paste caption settings"));
-       _caption->Enable (caption);
-       add (_caption);
+       _text = new CheckBox (this, _("Paste subtitle and caption settings"));
+       _text->Enable (text);
+       add (_text);
 
        layout ();
 }
@@ -49,7 +50,7 @@ PasteDialog::audio () const
 }
 
 bool
-PasteDialog::caption () const
+PasteDialog::text () const
 {
-       return _caption->GetValue ();
+       return _text->GetValue ();
 }