The text fields were not causing config value updates,

broken with 8d1b854acb
Replaced all wxString.ToStdString() with wxString.ToUTF8().data()
to be sure that the strings are correctly converted to UTF8.
This commit is contained in:
bubnikv
2019-01-07 09:37:51 +01:00
parent 0b4be9a2a0
commit 89121e4540

View File

@@ -188,7 +188,7 @@ void Field::get_value_by_opt_type(wxString& str)
}
}
m_value = str.ToUTF8().data();
m_value = std::string(str.ToUTF8().data());
break; }
default:
break;