diff options
author | Vojtech Kral <vojtech@kral.hk> | 2018-05-22 15:33:11 +0300 |
---|---|---|
committer | Vojtech Kral <vojtech@kral.hk> | 2018-05-22 15:33:37 +0300 |
commit | 360b34944d830655f8d0966d2140a1d293b7b724 (patch) | |
tree | f38071bae6a32dfda84074812733aa71573a0ce5 /xs/src/slic3r/GUI/GUI.cpp | |
parent | 306d77559eafb742e1b10e091e5adf980694f6fd (diff) |
ErrorDialog: Fix size and message encoding
Diffstat (limited to 'xs/src/slic3r/GUI/GUI.cpp')
-rw-r--r-- | xs/src/slic3r/GUI/GUI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xs/src/slic3r/GUI/GUI.cpp b/xs/src/slic3r/GUI/GUI.cpp index aad970236..b00813a71 100644 --- a/xs/src/slic3r/GUI/GUI.cpp +++ b/xs/src/slic3r/GUI/GUI.cpp @@ -607,7 +607,7 @@ void show_error(wxWindow* parent, const wxString& message) { void show_error_id(int id, const std::string& message) { auto *parent = id != 0 ? wxWindow::FindWindowById(id) : nullptr; - show_error(parent, message); + show_error(parent, wxString::FromUTF8(message.data())); } void show_info(wxWindow* parent, const wxString& message, const wxString& title){ |