diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-04-28 22:16:31 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-04-29 23:37:48 +0200 |
| commit | 5c48efdde34ee11f135ea8b369d85d50d1410445 (patch) | |
| tree | e331d95588304c34737ec31cda7e46bf94dd6f34 /src/wx/recipient_dialog.cc | |
| parent | ac371da34b3bdf2988b2936dec7dc095bf624c86 (diff) | |
Use explicit parameters to the EditableList constructor, and allow
arbitrary new/edit/remove button combinations to be used.
Diffstat (limited to 'src/wx/recipient_dialog.cc')
| -rw-r--r-- | src/wx/recipient_dialog.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wx/recipient_dialog.cc b/src/wx/recipient_dialog.cc index f6e0b2cfc..66b7f0e19 100644 --- a/src/wx/recipient_dialog.cc +++ b/src/wx/recipient_dialog.cc @@ -90,7 +90,8 @@ RecipientDialog::RecipientDialog ( vector<EditableListColumn> columns; columns.push_back (EditableListColumn(_("Address"))); _email_list = new EditableList<string, EmailDialog> ( - this, columns, bind(&RecipientDialog::get_emails, this), bind(&RecipientDialog::set_emails, this, _1), bind(&column, _1) + this, columns, bind(&RecipientDialog::get_emails, this), bind(&RecipientDialog::set_emails, this, _1), bind(&column, _1), + EditableListButton::NEW | EditableListButton::EDIT | EditableListButton::REMOVE, true ); _sizer->Add (_email_list, wxGBPosition (r, 0), wxGBSpan (1, 2), wxEXPAND); |
