Fixed localization of parameter legends.

This commit is contained in:
bubnikv 2019-05-09 15:13:14 +02:00
parent 400ab5333e
commit b247bbab2e
3 changed files with 4 additions and 4 deletions

View file

@ -465,7 +465,7 @@ public:
void set_value(const std::string& value, bool change_event = false) {
m_disable_change_event = !change_event;
dynamic_cast<wxStaticText*>(window)->SetLabel(value);
dynamic_cast<wxStaticText*>(window)->SetLabel(wxString::FromUTF8(value.data()));
m_disable_change_event = false;
}
void set_value(const boost::any& value, bool change_event = false) {