From 1fed9bea3936a503c8fa367b58639ae3b73765b1 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 25 Apr 2025 23:20:26 +0200 Subject: White space: email_dialog.{cc,h} --- src/wx/email_dialog.cc | 16 ++++++++-------- 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 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 get() const; private: -- cgit v1.2.3