#endif
#include "lib/compose.hpp"
#include "lib/config.h"
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
#include <wx/stdpaths.h>
+LIBDCP_ENABLE_WARNINGS
#include <boost/filesystem.hpp>
_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 ();
)) {
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())