#include "file_picker_ctrl.h"
+#include "language_tag_widget.h"
#include "password_entry.h"
#include "static_text.h"
#include "wx_util.h"
}
+void
+checked_set(LanguageTagWidget* widget, dcp::LanguageTag value)
+{
+ if (widget->get() != value) {
+ widget->set(value);
+ }
+}
+
+
+void
+checked_set(LanguageTagWidget* widget, optional<dcp::LanguageTag> value)
+{
+ if (widget->get() != value) {
+ widget->set(value);
+ }
+}
+
+
void
dcpomatic_setup_i18n ()
{