Supporters update.
[dcpomatic.git] / src / wx / film_name_location_dialog.cc
index 2f3fefe49aa0c2033fc2903e4e4c1092d2bef9fe..05ffa7a685264cfbd46a3e683f21015b3be2bd16 100644 (file)
@@ -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 ();
@@ -150,7 +150,7 @@ FilmNameLocationDialog::check_path ()
                            )) {
                        return false;
                }
-       } else if (boost::filesystem::is_regular_file(path())) {
+       } else if (filesystem::is_regular_file(path())) {
                error_dialog (
                        this,
                        String::compose (wx_to_std(_("%1 already exists as a file, so you cannot use it for a film.")), path().c_str())