diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-03-21 23:07:44 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-03-21 23:07:44 +0000 |
| commit | 674f59e307919856118d21aa03b53eb6fa82aeb0 (patch) | |
| tree | 2baaef6d55fb3b8c55fa2715ab5263f65e1e5043 /src/wx/static_text.cc | |
| parent | da9fd55339dab2605d14579a0f79588db27c232a (diff) | |
Fix instant-translation when things are changed more than once.
Diffstat (limited to 'src/wx/static_text.cc')
| -rw-r--r-- | src/wx/static_text.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/static_text.cc b/src/wx/static_text.cc index 6a11f647a..40710590f 100644 --- a/src/wx/static_text.cc +++ b/src/wx/static_text.cc @@ -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()) { } |
