X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ffilm_name_location_dialog.cc;h=5c6f97f995d7b4c239dbb40ddface8d81d79aa75;hb=5063594e6836cfabed7d55f4963da9c8cf3b9f11;hp=2f3fefe49aa0c2033fc2903e4e4c1092d2bef9fe;hpb=3c29aa6531a4046a8db72dcac81189eb8893233c;p=dcpomatic.git diff --git a/src/wx/film_name_location_dialog.cc b/src/wx/film_name_location_dialog.cc index 2f3fefe49..5c6f97f99 100644 --- a/src/wx/film_name_location_dialog.cc +++ b/src/wx/film_name_location_dialog.cc @@ -78,7 +78,7 @@ FilmNameLocationDialog::FilmNameLocationDialog (wxWindow* parent, wxString title _template_name->Append (std_to_wx(i)); } - _use_template->Bind (wxEVT_CHECKBOX, bind(&FilmNameLocationDialog::use_template_clicked, this)); + _use_template->bind(&FilmNameLocationDialog::use_template_clicked, this); } layout ();