X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Frecipient_dialog.cc;h=66b7f0e19bd24110c1e3bc65092f9ff64bbfb09f;hp=f6e0b2cfc60928d28c09cb6e483c4ee6852b6fed;hb=5c48efdde34ee11f135ea8b369d85d50d1410445;hpb=ac371da34b3bdf2988b2936dec7dc095bf624c86 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 columns; columns.push_back (EditableListColumn(_("Address"))); _email_list = new EditableList ( - 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);