Add patron.
[dcpomatic.git] / src / wx / cinema_dialog.cc
index 36aabf7766014b4cc12541914cb05179e8d71246..ff5d1faf61976b43ed4d0bc36853cbfcf3eba458 100644 (file)
@@ -67,8 +67,8 @@ CinemaDialog::CinemaDialog (wxWindow* parent, wxString title, string name, list<
 
        copy (emails.begin(), emails.end(), back_inserter (_emails));
 
-       vector<string> columns;
-       columns.push_back (wx_to_std (_("Address")));
+       vector<EditableListColumn> columns;
+       columns.push_back (EditableListColumn(wx_to_std(_("Address"))));
        _email_list = new EditableList<string, EmailDialog> (
                this, columns, bind (&CinemaDialog::get_emails, this), bind (&CinemaDialog::set_emails, this, _1), bind (&column, _1)
                );