Yet another attempt to fix Win builds

This commit is contained in:
Lukas Matena 2018-03-01 09:19:34 +01:00
parent b1b16359d9
commit c76c075569
2 changed files with 2 additions and 1 deletions

View file

@ -98,7 +98,7 @@ private:
int which_button_is_clicked(const wxPoint& point) const {
if (!m_rect.Contains(point))
return -1;
for (uint i=0;i<m_buttons[m_current_extruder].size();++i) {
for (unsigned int i=0;i<m_buttons[m_current_extruder].size();++i) {
wxRect rect(math_to_screen(m_buttons[m_current_extruder][i].get_pos())-wxPoint(side/2.,side/2.),wxSize(side,side)); // bounding rectangle of this button
if ( rect.Contains(point) )
return i;

View file

@ -1,3 +1,4 @@
#include <algorithm>
#include "WipeTowerDialog.hpp"
// Human-readable output of Parameters structure