X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ffilm_name_location_dialog.cc;h=0cc406d022168b9d430ec7368ae9bd7fac1b41e2;hb=adddda49c17e87198253d9c900dcef0f5fb2e175;hp=d91171acb52799e7699c7793fa8244a253ec452e;hpb=0f42e807a707249cd1a60fa6e476cb47a4147c5a;p=dcpomatic.git 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 + Copyright (C) 2012-2018 Carl Hetherington 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);