diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-09-01 20:42:01 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-09-01 20:42:01 +0200 |
| commit | 69326e73b29be371dacbdacd741a0a88a5ef1a5b (patch) | |
| tree | e2766e3cf8eb2be0f0bdcb77bbbd7e52aff3229d /src/wx/cinema_dialog.cc | |
| parent | 09287979ce90e809880cd17fb20deb23669f68e4 (diff) | |
Fix two more badly-adapted instantiations of EditableList and make
it harder to make similar errors in the future.
Diffstat (limited to 'src/wx/cinema_dialog.cc')
| -rw-r--r-- | src/wx/cinema_dialog.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/cinema_dialog.cc b/src/wx/cinema_dialog.cc index f6007d235..8c7194c4a 100644 --- a/src/wx/cinema_dialog.cc +++ b/src/wx/cinema_dialog.cc @@ -71,7 +71,7 @@ CinemaDialog::CinemaDialog (wxWindow* parent, wxString title, string name, list< _email_list = new EditableList<string, EmailDialog> ( this, columns, bind (&CinemaDialog::get_emails, this), bind (&CinemaDialog::set_emails, this, _1), [](string s, int) { return s; - }, false, EditableListButton::NEW | EditableListButton::EDIT | EditableListButton::REMOVE + }, EditableListTitle::INVISIBLE, EditableListButton::NEW | EditableListButton::EDIT | EditableListButton::REMOVE ); sizer->Add (_email_list, wxGBPosition(r, 0), wxGBSpan(1, 2), wxEXPAND); |
