X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Fpaste_dialog.cc;h=cd4518881131378a2232865b0a93f2fe6534324a;hp=eade31490540177e2f6486a15913bc902aceee7e;hb=386e25f3b9d3fa59cbdeed458d9b3e0d21e338b8;hpb=d26296467bbf6bd1b2300dd862ce55fcd7f3d624 diff --git a/src/wx/paste_dialog.cc b/src/wx/paste_dialog.cc index eade31490..cd4518881 100644 --- a/src/wx/paste_dialog.cc +++ b/src/wx/paste_dialog.cc @@ -19,19 +19,20 @@ */ #include "paste_dialog.h" +#include "check_box.h" -PasteDialog::PasteDialog (wxWindow* parent, bool video, bool audio, bool subtitle) +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); - _subtitle = new wxCheckBox (this, wxID_ANY, _("Paste subtitle settings")); - _subtitle->Enable (subtitle); - add (_subtitle); + _text = new CheckBox (this, _("Paste subtitle and caption settings")); + _text->Enable (text); + add (_text); layout (); } @@ -49,7 +50,7 @@ PasteDialog::audio () const } bool -PasteDialog::subtitle () const +PasteDialog::text () const { - return _subtitle->GetValue (); + return _text->GetValue (); }