summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-09-27 19:37:33 +0200
committerCarl Hetherington <cth@carlh.net>2024-09-27 19:37:38 +0200
commitcbf0184f63b6fc903c0fbb6afcfa9cc2ec277d0a (patch)
tree64873d3c0a006bf89744e56bbbc05167e9577e90
parent36e8f32c7bdb8b257e22977d8fac86536368d7b8 (diff)
Fix empty translated string.
-rw-r--r--src/wx/custom_scale_dialog.cc2
1 files changed, 1 insertions, 1 deletions
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);