Temporary fix of the build

This commit is contained in:
YuSanka 2018-12-13 15:06:34 +01:00
parent 27f5df5fbd
commit ef04e558a7

View file

@ -1459,11 +1459,13 @@ void ObjectList::update_selections()
select_items(sels); select_items(sels);
#ifdef __WXMSW__
if (GetSelection()) { if (GetSelection()) {
const int sel_item_row = GetRowByItem(GetSelection()); const int sel_item_row = GetRowByItem(GetSelection());
ScrollLines(sel_item_row - m_selected_row); ScrollLines(sel_item_row - m_selected_row);
m_selected_row = sel_item_row; m_selected_row = sel_item_row;
} }
#endif //__WXMSW__
} }
void ObjectList::update_selections_on_canvas() void ObjectList::update_selections_on_canvas()