Accessor for ClosedCaptionsDialog.
[dcpomatic.git] / src / wx / static_text.cc
index 6a11f647a87c02b4e8cecfa7cc87110f4aac255b..40710590fca01d787022190050ff1afb82cb7b5e 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.
 
@@ -22,7 +22,7 @@
 
 StaticText::StaticText (wxWindow* parent, wxString label, wxPoint pos, wxSize size, long style)
        : wxStaticText (parent, wxID_ANY, label, pos, size, style)
-       , I18NHook (this)
+       , I18NHook (this, get_text())
 {
 
 }