diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-04-25 23:20:26 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-04-25 23:20:26 +0200 |
| commit | 1fed9bea3936a503c8fa367b58639ae3b73765b1 (patch) | |
| tree | d5a6232dfa5b374f25e346e1964d4e4117a98b61 | |
| parent | 039ade24cfcdfacd9c68143832161a883a3ea2ef (diff) | |
White space: email_dialog.{cc,h}
| -rw-r--r-- | src/wx/email_dialog.cc | 16 | ||||
| -rw-r--r-- | src/wx/email_dialog.h | 4 |
2 files changed, 10 insertions, 10 deletions
diff --git a/src/wx/email_dialog.cc b/src/wx/email_dialog.cc index 4f33f9a5a..324738170 100644 --- a/src/wx/email_dialog.cc +++ b/src/wx/email_dialog.cc @@ -28,29 +28,29 @@ using std::string; using std::vector; -EmailDialog::EmailDialog (wxWindow* parent) - : TableDialog (parent, _("Email address"), 2, 1, true) +EmailDialog::EmailDialog(wxWindow* parent) + : TableDialog(parent, _("Email address"), 2, 1, true) { - add (_("Email address"), true); + add(_("Email address"), true); _email = add(new wxTextCtrl(this, wxID_ANY, {}, wxDefaultPosition, wxSize(400, -1))); - layout (); + layout(); - _email->SetFocus (); + _email->SetFocus(); } void -EmailDialog::set (string address) +EmailDialog::set(string address) { - _email->SetValue (std_to_wx(address)); + _email->SetValue(std_to_wx(address)); } vector<string> EmailDialog::get() const { - auto s = wx_to_std (_email->GetValue ()); + auto s = wx_to_std(_email->GetValue()); if (s.empty()) { /* Invalid email address */ return {}; diff --git a/src/wx/email_dialog.h b/src/wx/email_dialog.h index e613bb021..104ed5d60 100644 --- a/src/wx/email_dialog.h +++ b/src/wx/email_dialog.h @@ -26,9 +26,9 @@ class EmailDialog : public TableDialog { public: - explicit EmailDialog (wxWindow *); + explicit EmailDialog(wxWindow *); - void set (std::string); + void set(std::string); std::vector<std::string> get() const; private: |
