mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Replaced all wxString.ToStdString() with wxString.ToUTF8().data()
to be sure that the strings are correctly converted to UTF8.
This commit is contained in:
parent
b099d5c05e
commit
8d1b854acb
11 changed files with 23 additions and 24 deletions
|
@ -2083,7 +2083,7 @@ void Plater::priv::on_select_preset(wxCommandEvent &evt)
|
|||
//! So, to get selected string we do
|
||||
//! combo->GetString(combo->GetSelection())
|
||||
//! instead of
|
||||
//! combo->GetStringSelection().ToStdString());
|
||||
//! combo->GetStringSelection().ToUTF8().data());
|
||||
|
||||
std::string selected_string = combo->GetString(combo->GetSelection()).ToUTF8().data();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue