summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-02-14 09:50:39 +0100
committerCarl Hetherington <cth@carlh.net>2022-02-14 09:50:39 +0100
commitdbfabb1412dbbc21331334031bedc61cbcb20263 (patch)
tree79f91b57a6071f665cacd1d1c130447e53260ec5
parent8b1736a39f256b37f75bdb99e69298992d3e1083 (diff)
No-op: tidying.
-rw-r--r--src/wx/make_chain_dialog.cc11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/wx/make_chain_dialog.cc b/src/wx/make_chain_dialog.cc
index d681c00e8..10433de03 100644
--- a/src/wx/make_chain_dialog.cc
+++ b/src/wx/make_chain_dialog.cc
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2014-2018 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2014-2022 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
@@ -18,12 +18,15 @@
*/
+
#include "make_chain_dialog.h"
#include "static_text.h"
#include <boost/algorithm/string.hpp>
+
using std::string;
+
MakeChainDialog::MakeChainDialog (
wxWindow* parent,
string organisation,
@@ -57,7 +60,7 @@ MakeChainDialog::MakeChainDialog (
add (_("Root common name"), true);
{
- wxBoxSizer* s = new wxBoxSizer (wxHORIZONTAL);
+ auto s = new wxBoxSizer (wxHORIZONTAL);
s->Add (new StaticText (this, wxT (".")), 0, wxALIGN_CENTER_VERTICAL);
s->Add (_root_common_name = new wxTextCtrl (
this, wxID_ANY, std_to_wx (root_common_name), wxDefaultPosition, wxDefaultSize, 0, validator), 1, wxALIGN_CENTER_VERTICAL
@@ -68,7 +71,7 @@ MakeChainDialog::MakeChainDialog (
add (_("Intermediate common name"), true);
{
- wxBoxSizer* s = new wxBoxSizer (wxHORIZONTAL);
+ auto s = new wxBoxSizer (wxHORIZONTAL);
s->Add (new StaticText (this, wxT (".")), 0, wxALIGN_CENTER_VERTICAL);
s->Add (_intermediate_common_name = new wxTextCtrl (
this, wxID_ANY, std_to_wx (intermediate_common_name), wxDefaultPosition, wxDefaultSize, 0, validator), 1, wxALIGN_CENTER_VERTICAL
@@ -79,7 +82,7 @@ MakeChainDialog::MakeChainDialog (
add (_("Leaf common name"), true);
{
- wxBoxSizer* s = new wxBoxSizer (wxHORIZONTAL);
+ auto s = new wxBoxSizer (wxHORIZONTAL);
s->Add (new StaticText (this, wxT ("CS.")), 0, wxALIGN_CENTER_VERTICAL);
s->Add (_leaf_common_name = new wxTextCtrl (
this, wxID_ANY, std_to_wx (leaf_common_name), wxDefaultPosition, wxDefaultSize, 0, validator), 1, wxALIGN_CENTER_VERTICAL