FIX: [STUDIO-2675] linux language switch zh_CN

Change-Id: Ifba1682b7fb402712665dad0219a84db0a23f1c3
This commit is contained in:
chunmao.guo 2023-05-22 17:50:45 +08:00 committed by Lane.Wei
parent 6e5e947aa2
commit a7566ea592
3 changed files with 9 additions and 3 deletions

View file

@ -540,7 +540,7 @@ wxBitmap *get_extruder_color_icon(std::string color, std::string label, int icon
// there is no neede to scale created solid bitmap
wxColor clr(color);
bitmap = bmp_cache.insert(bitmap_key, wxBitmap(icon_width, icon_height));
#ifdef __WXOSX__
#ifndef __WXMSW__
wxMemoryDC dc;
#else
wxClientDC cdc((wxWindow *) Slic3r::GUI::wxGetApp().mainframe);