summaryrefslogtreecommitdiff
path: root/src/wx/film_name_location_dialog.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/film_name_location_dialog.cc')
-rw-r--r--src/wx/film_name_location_dialog.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wx/film_name_location_dialog.cc b/src/wx/film_name_location_dialog.cc
index d91171acb..0cc406d02 100644
--- a/src/wx/film_name_location_dialog.cc
+++ b/src/wx/film_name_location_dialog.cc
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2012-2017 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-2018 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
@@ -20,6 +20,7 @@
#include "wx_util.h"
#include "film_name_location_dialog.h"
+#include "check_box.h"
#ifdef DCPOMATIC_USE_OWN_PICKER
#include "dir_picker_ctrl.h"
#endif
@@ -56,7 +57,7 @@ FilmNameLocationDialog::FilmNameLocationDialog (wxWindow* parent, wxString title
add (_folder);
if (offer_templates) {
- _use_template = new wxCheckBox (this, wxID_ANY, _("From template"));
+ _use_template = new CheckBox (this, _("From template"));
add (_use_template);
_template_name = new wxChoice (this, wxID_ANY);
add (_template_name);