summaryrefslogtreecommitdiff
path: root/src/wx/paste_dialog.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-07-19 22:44:53 +0100
committerCarl Hetherington <cth@carlh.net>2018-07-19 23:45:23 +0100
commit27b83475435dda4e84a90cf59a52f150905c4ab1 (patch)
tree51d0158c7a879f6b2f3c40843c5e5e455069a1dc /src/wx/paste_dialog.cc
parent9cb73fbc0fa4643612f01665bc6d9fc430656f32 (diff)
Clean up after previous commit.
Diffstat (limited to 'src/wx/paste_dialog.cc')
-rw-r--r--src/wx/paste_dialog.cc12
1 files changed, 6 insertions, 6 deletions
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 ();
}