From 9c1bb2e5ca7c80c4e26b1b2e41159aa171360a94 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 8 Dec 2018 00:09:57 +0000 Subject: Basics of in-place i18n with support for wxStaticText and wxCheckBox. --- src/wx/kdm_timing_panel.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/wx/kdm_timing_panel.cc') diff --git a/src/wx/kdm_timing_panel.cc b/src/wx/kdm_timing_panel.cc index 53f674e2e..bad900d27 100644 --- a/src/wx/kdm_timing_panel.cc +++ b/src/wx/kdm_timing_panel.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2015-2016 Carl Hetherington + Copyright (C) 2015-2018 Carl Hetherington This file is part of DCP-o-matic. @@ -21,6 +21,7 @@ #include "kdm_timing_panel.h" #include "wx_util.h" #include "time_picker.h" +#include "static_text.h" #include #include @@ -61,7 +62,7 @@ KDMTimingPanel::KDMTimingPanel (wxWindow* parent) overall_sizer->Add (table); - _warning = new wxStaticText (this, wxID_ANY, wxT ("")); + _warning = new StaticText (this, wxT("")); overall_sizer->Add (_warning, 0, wxTOP, DCPOMATIC_SIZER_GAP); wxFont font = _warning->GetFont(); font.SetStyle(wxFONTSTYLE_ITALIC); -- cgit v1.2.3