summaryrefslogtreecommitdiff
path: root/src/wx/rename_template_dialog.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-04-29 09:14:20 +0200
committerCarl Hetherington <cth@carlh.net>2021-04-29 20:53:49 +0200
commit39fb8198febde1937019db1c300ec363aab5aa56 (patch)
tree52bc32134e8ae2b5587b3a62130baa9acf815b60 /src/wx/rename_template_dialog.cc
parentb249700e1da7dd6631a8b4440587f4093a2bdef1 (diff)
C++11 tidying.
Diffstat (limited to 'src/wx/rename_template_dialog.cc')
-rw-r--r--src/wx/rename_template_dialog.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/wx/rename_template_dialog.cc b/src/wx/rename_template_dialog.cc
index 970c85a8b..714e08057 100644
--- a/src/wx/rename_template_dialog.cc
+++ b/src/wx/rename_template_dialog.cc
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2016 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2016-2021 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
@@ -18,24 +18,28 @@
*/
+
#include "rename_template_dialog.h"
+
RenameTemplateDialog::RenameTemplateDialog (wxWindow* parent)
: TableDialog (parent, _("Rename template"), 2, 1, true)
{
add (_("New name"), true);
- _name = add (new wxTextCtrl (this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxSize (300, -1)));
+ _name = add (new wxTextCtrl(this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxSize(300, -1)));
layout ();
_name->SetFocus ();
}
+
wxString
RenameTemplateDialog::get () const
{
return _name->GetValue ();
}
+
void
RenameTemplateDialog::set (wxString s)
{