summaryrefslogtreecommitdiff
path: root/src/wx/paste_dialog.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-07-23 15:10:11 +0100
committerCarl Hetherington <cth@carlh.net>2018-07-23 15:10:11 +0100
commita5c629cb9b638b67a0e4c2d26fe9ab2e124bf0eb (patch)
tree6cd463704f413259516e2888704272a371a108a6 /src/wx/paste_dialog.cc
parentdf17bbd25da69fc38eb2dcd8b4a2531cf0bab0bc (diff)
Tidy up after mass rename.
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 07a3b156c..c613cad3b 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 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"));
@@ -29,9 +29,9 @@ PasteDialog::PasteDialog (wxWindow* parent, bool video, bool audio, bool caption
_audio = new wxCheckBox (this, wxID_ANY, _("Paste audio settings"));
_audio->Enable (audio);
add (_audio);
- _caption = new wxCheckBox (this, wxID_ANY, _("Paste caption settings"));
- _caption->Enable (caption);
- add (_caption);
+ _text = new wxCheckBox (this, wxID_ANY, _("Paste subtitle and caption settings"));
+ _text->Enable (text);
+ add (_text);
layout ();
}
@@ -49,7 +49,7 @@ PasteDialog::audio () const
}
bool
-PasteDialog::caption () const
+PasteDialog::text () const
{
- return _caption->GetValue ();
+ return _text->GetValue ();
}