From cbf0184f63b6fc903c0fbb6afcfa9cc2ec277d0a Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 27 Sep 2024 19:37:33 +0200 Subject: Fix empty translated string. --- src/wx/custom_scale_dialog.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wx/custom_scale_dialog.cc b/src/wx/custom_scale_dialog.cc index a10233a31..39cf328de 100644 --- a/src/wx/custom_scale_dialog.cc +++ b/src/wx/custom_scale_dialog.cc @@ -42,7 +42,7 @@ CustomScaleDialog::CustomScaleDialog (wxWindow* parent, dcp::Size initial, dcp:: _ratio_to_fit = new wxRadioButton (this, wxID_ANY, _("Set ratio and fit to DCP container")); add (_ratio_to_fit); wxBoxSizer* s = new wxBoxSizer (wxHORIZONTAL); - _ratio = new wxTextCtrl (this, wxID_ANY, _(""), wxDefaultPosition, wxDefaultSize, 0, wxNumericPropertyValidator(wxNumericPropertyValidator::Float)); + _ratio = new wxTextCtrl (this, wxID_ANY, wxString{}, wxDefaultPosition, wxDefaultSize, 0, wxNumericPropertyValidator(wxNumericPropertyValidator::Float)); s->Add (_ratio, 1, wxRIGHT, 4); add_label_to_sizer(s, this, char_to_wx(":1"), false, 0, wxLEFT | wxRIGHT | wxALIGN_CENTER_VERTICAL); add (s); -- cgit v1.2.3