Move Film::make_kdms to the call sites.
[dcpomatic.git] / src / wx / check_box.cc
index 8f24f43ec73fc7cf17c43922d14ad0cff990c797..d41b8a3f1e3a2e261b2d39bbe7eab08810ee8763 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2018 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2018-2019 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
@@ -24,7 +24,7 @@ using std::cout;
 
 CheckBox::CheckBox (wxWindow* parent, wxString label)
        : wxCheckBox (parent, wxID_ANY, label)
-       , I18NHook (this)
+       , I18NHook (this, get_text())
 {
 
 }