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

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2018-09-19 12:28:30 +0300
committerbubnikv <bubnikv@gmail.com>2018-09-19 12:28:30 +0300
commite8c16c35e5d6f6ce175581dc479a8fa602c6405c (patch)
tree65ecd81b5f4491fc66ce7065e1b0cb130477cb68 /src/slic3r/GUI/GUI.cpp
parent6bd92a819805946e97b614df4f1e9e4d7a9142e9 (diff)
parent6b655f9aa31018a2269380350c7bdb0c14377ab9 (diff)
Meged with dev2
Diffstat (limited to 'src/slic3r/GUI/GUI.cpp')
-rw-r--r--src/slic3r/GUI/GUI.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/slic3r/GUI/GUI.cpp b/src/slic3r/GUI/GUI.cpp
index 24d459921..e5ed917b3 100644
--- a/src/slic3r/GUI/GUI.cpp
+++ b/src/slic3r/GUI/GUI.cpp
@@ -991,6 +991,12 @@ wxString from_u8(const std::string &str)
return wxString::FromUTF8(str.c_str());
}
+std::string into_u8(const wxString &str)
+{
+ auto buffer_utf8 = str.utf8_str();
+ return std::string(buffer_utf8.data());
+}
+
void set_model_events_from_perl(Model &model,
int event_object_selection_changed,
int event_object_settings_changed,