X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fpaste_dialog.cc;fp=src%2Fwx%2Fpaste_dialog.cc;h=07a3b156c240bc94e88d471518e5cb07721a74d5;hb=27b83475435dda4e84a90cf59a52f150905c4ab1;hp=eade31490540177e2f6486a15913bc902aceee7e;hpb=9cb73fbc0fa4643612f01665bc6d9fc430656f32;p=dcpomatic.git diff --git a/src/wx/paste_dialog.cc b/src/wx/paste_dialog.cc index eade31490..07a3b156c 100644 --- a/src/wx/paste_dialog.cc +++ b/src/wx/paste_dialog.cc @@ -20,7 +20,7 @@ #include "paste_dialog.h" -PasteDialog::PasteDialog (wxWindow* parent, bool video, bool audio, bool subtitle) +PasteDialog::PasteDialog (wxWindow* parent, bool video, bool audio, bool caption) : TableDialog (parent, _("Paste"), 1, 0, true) { _video = new wxCheckBox (this, wxID_ANY, _("Paste video settings")); @@ -29,9 +29,9 @@ PasteDialog::PasteDialog (wxWindow* parent, bool video, bool audio, bool subtitl _audio = new wxCheckBox (this, wxID_ANY, _("Paste audio settings")); _audio->Enable (audio); add (_audio); - _subtitle = new wxCheckBox (this, wxID_ANY, _("Paste subtitle settings")); - _subtitle->Enable (subtitle); - add (_subtitle); + _caption = new wxCheckBox (this, wxID_ANY, _("Paste caption settings")); + _caption->Enable (caption); + add (_caption); layout (); } @@ -49,7 +49,7 @@ PasteDialog::audio () const } bool -PasteDialog::subtitle () const +PasteDialog::caption () const { - return _subtitle->GetValue (); + return _caption->GetValue (); }