Add Uwe Dittes as translator.
[dcpomatic.git] / src / wx / check_box.cc
index 8f24f43ec73fc7cf17c43922d14ad0cff990c797..710ba6334ff15483b11f6491ff3630b573904c69 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2018 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2018-2021 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
 
 */
 
+
 #include "check_box.h"
 
+
 using std::cout;
 
+
 CheckBox::CheckBox (wxWindow* parent, wxString label)
        : wxCheckBox (parent, wxID_ANY, label)
-       , I18NHook (this)
+       , I18NHook (this, get_text())
 {
 
 }
 
+
 void
 CheckBox::set_text (wxString text)
 {
        SetLabel (text);
 }
 
+
 wxString
 CheckBox::get_text () const
 {