mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-25 01:40:57 +00:00
build: fix 9 defects found by clang-cl warnings (#15583)
This commit is contained in:
@@ -678,7 +678,7 @@ SyncAmsInfoDialog::SyncAmsInfoDialog(wxWindow *parent, SyncInfo &info) :
|
||||
|
||||
wxBoxSizer *loading_Sizer = new wxBoxSizer(wxHORIZONTAL);
|
||||
m_gif_ctrl = new wxAnimationCtrl(m_loading_page, wxID_ANY, wxNullAnimation, wxDefaultPosition, wxDefaultSize, wxAC_DEFAULT_STYLE);
|
||||
auto gif_path = Slic3r::var("loading.gif").c_str();
|
||||
const wxString gif_path = from_u8(Slic3r::var("loading.gif"));
|
||||
if (m_gif_ctrl->LoadFile(gif_path)){
|
||||
m_gif_ctrl->SetSize(m_gif_ctrl->GetAnimation().GetSize());
|
||||
m_gif_ctrl->Play();
|
||||
|
||||
Reference in New Issue
Block a user