mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-17 05:52:39 +00:00
Get to a compilable state
Everything seems to be working (including the plater). I am not seeing any graphical issues
This commit is contained in:
@@ -1119,7 +1119,7 @@ void Choice::BUILD()
|
||||
auto icon_name = "param_" + m_opt.enum_values[i];
|
||||
if (boost::filesystem::exists(image_path / (icon_name + ".svg"))) {
|
||||
ScalableBitmap bm(temp, icon_name, 24);
|
||||
temp->Append(_(el), bm.bmp());
|
||||
temp->Append(_(el), bm.get_bitmap());
|
||||
} else {
|
||||
temp->Append(_(el));
|
||||
}
|
||||
@@ -1520,7 +1520,7 @@ void Choice::msw_rescale()
|
||||
auto icon_name = "param_" + m_opt.enum_values[i];
|
||||
if (boost::filesystem::exists(image_path / (icon_name + ".svg"))) {
|
||||
ScalableBitmap bm(window, icon_name, 24);
|
||||
temp->SetItemBitmap(i, bm.bmp());
|
||||
temp->SetItemBitmap(i, bm.get_bitmap());
|
||||
}
|
||||
++i;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user