Changed update_warning_icon_state() signature
(next try to fix OSX compilation)
This commit is contained in:
parent
7f37f82ad4
commit
b048669a3b
3 changed files with 6 additions and 5 deletions
src/slic3r/GUI
|
@ -66,7 +66,7 @@ ObjectManipulation::ObjectManipulation(wxWindow* parent) :
|
|||
return;
|
||||
|
||||
wxGetApp().obj_list()->fix_through_netfabb();
|
||||
update_warning_icon_state(wxGetApp().obj_list()->get_mesh_errors_list());
|
||||
update_warning_icon_state(/*wxGetApp().obj_list()->get_mesh_errors_list()*/);
|
||||
});
|
||||
|
||||
return sizer;
|
||||
|
@ -365,8 +365,10 @@ void ObjectManipulation::emulate_kill_focus()
|
|||
on_change(option, 0);
|
||||
}
|
||||
|
||||
void ObjectManipulation::update_warning_icon_state(const wxString& tooltip)
|
||||
void ObjectManipulation::update_warning_icon_state(/*const wxString& tooltip*/)
|
||||
{
|
||||
const wxString& tooltip = wxGetApp().obj_list()->get_mesh_errors_list();
|
||||
|
||||
m_fix_throught_netfab_bitmap->SetBitmap(tooltip.IsEmpty() ? wxNullBitmap : m_manifold_warning_bmp.bmp());
|
||||
m_fix_throught_netfab_bitmap->SetToolTip(tooltip);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue