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/screen_dialog.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/wx/screen_dialog.cc') diff --git a/src/wx/screen_dialog.cc b/src/wx/screen_dialog.cc index f5d4b044a..e8361dcd8 100644 --- a/src/wx/screen_dialog.cc +++ b/src/wx/screen_dialog.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2016 Carl Hetherington + Copyright (C) 2012-2018 Carl Hetherington This file is part of DCP-o-matic. @@ -21,6 +21,7 @@ #include "screen_dialog.h" #include "wx_util.h" #include "file_dialog_wrapper.h" +#include "static_text.h" #include "download_certificate_dialog.h" #include "table_dialog.h" #include "lib/compose.hpp" @@ -126,7 +127,7 @@ ScreenDialog::ScreenDialog ( add_label_to_sizer (_sizer, this, _("Recipient certificate"), true, wxGBPosition (r, 0)); wxBoxSizer* s = new wxBoxSizer (wxHORIZONTAL); - _recipient_thumbprint = new wxStaticText (this, wxID_ANY, wxT (""), wxDefaultPosition, size); + _recipient_thumbprint = new StaticText (this, wxT (""), wxDefaultPosition, size); _recipient_thumbprint->SetFont (font); set_recipient (recipient); _get_recipient_from_file = new wxButton (this, wxID_ANY, _("Get from file...")); -- cgit v1.2.3