From 9c1bb2e5ca7c80c4e26b1b2e41159aa171360a94 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 8 Dec 2018 00:09:57 +0000 Subject: Basics of in-place i18n with support for wxStaticText and wxCheckBox. --- src/wx/paste_dialog.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/wx/paste_dialog.cc') diff --git a/src/wx/paste_dialog.cc b/src/wx/paste_dialog.cc index c613cad3b..cd4518881 100644 --- a/src/wx/paste_dialog.cc +++ b/src/wx/paste_dialog.cc @@ -19,17 +19,18 @@ */ #include "paste_dialog.h" +#include "check_box.h" 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); - _text = new wxCheckBox (this, wxID_ANY, _("Paste subtitle and caption settings")); + _text = new CheckBox (this, _("Paste subtitle and caption settings")); _text->Enable (text); add (_text); -- cgit v1.2.3