#include "check_box.h"
#include "film_name_location_dialog.h"
#include "wx_util.h"
+/* This must come after wx_util.h as it defines DCPOMATIC_USE_OWN_PICKER */
#ifdef DCPOMATIC_USE_OWN_PICKER
#include "dir_picker_ctrl.h"
#endif
-#include "lib/config.h"
#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 ();