mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 18:58:00 -06:00
Yet another attempt to fix Win builds
This commit is contained in:
parent
b1b16359d9
commit
c76c075569
2 changed files with 2 additions and 1 deletions
|
@ -98,7 +98,7 @@ private:
|
||||||
int which_button_is_clicked(const wxPoint& point) const {
|
int which_button_is_clicked(const wxPoint& point) const {
|
||||||
if (!m_rect.Contains(point))
|
if (!m_rect.Contains(point))
|
||||||
return -1;
|
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
|
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) )
|
if ( rect.Contains(point) )
|
||||||
return i;
|
return i;
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
#include <algorithm>
|
||||||
#include "WipeTowerDialog.hpp"
|
#include "WipeTowerDialog.hpp"
|
||||||
|
|
||||||
// Human-readable output of Parameters structure
|
// Human-readable output of Parameters structure
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue