FIX: fix plate name encoding issue

Change-Id: Ia89b2c5bbb4519ed938ae23ff124719cfe6203de
Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
Stone Li authored and Lane.Wei committed 2023-07-07 17:29:08 +08:00
1 parent 869a3046aa
commit 14cb2449c6
11 files changed
+44 -54

No files matched your search

+1 -1
View File
@@ -483,7 +483,7 @@ bool GLTexture::generate_from_text(const std::string &text_str, wxFont &font, wx
return false;
}
wxString msg = text_str;
wxString msg = from_u8(text_str);
wxMemoryDC memDC;
memDC.SetFont(font);