White space: email_dialog.{cc,h}
authorCarl Hetherington <cth@carlh.net>
Fri, 25 Apr 2025 21:20:26 +0000 (23:20 +0200)
committerCarl Hetherington <cth@carlh.net>
Fri, 25 Apr 2025 21:20:26 +0000 (23:20 +0200)
src/wx/email_dialog.cc
src/wx/email_dialog.h

index 4f33f9a5a536bf88136bcbd2dbe0bf9017f9d461..324738170991a490022ce1032b4ecdcb5d142dcd 100644 (file)
@@ -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 {};
index e613bb0211d732de136e83437b708a5a2e7e012b..104ed5d6046d1554695b9d0b6a0f176fca784874 100644 (file)
@@ -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: