mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
ErrorDialog: Fix size and message encoding
This commit is contained in:
parent
306d77559e
commit
360b34944d
3 changed files with 4 additions and 3 deletions
|
@ -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){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue