Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2019-01-03 16:34:53 +0300
committerbubnikv <bubnikv@gmail.com>2019-01-03 16:34:53 +0300
commit8d1b854acbbb1686d92cd38a696dab2a97dec00d (patch)
tree118ed217b480e1117b90b513ff8dc9d5841776b7 /src/slic3r/GUI/Field.cpp
parentb099d5c05ed6c57961a95b3223668b41231c58ce (diff)
Replaced all wxString.ToStdString() with wxString.ToUTF8().data()
to be sure that the strings are correctly converted to UTF8.
Diffstat (limited to 'src/slic3r/GUI/Field.cpp')
-rw-r--r--src/slic3r/GUI/Field.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slic3r/GUI/Field.cpp b/src/slic3r/GUI/Field.cpp
index 9855806be..81a90cfbd 100644
--- a/src/slic3r/GUI/Field.cpp
+++ b/src/slic3r/GUI/Field.cpp
@@ -188,7 +188,7 @@ void Field::get_value_by_opt_type(wxString& str)
}
}
- m_value = str.ToStdString();
+ m_value = str.ToUTF8().data();
break; }
default:
break;