mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-01 04:31:58 +08:00
Yet another attempt to fix Win builds
This commit is contained in:
parent
b1b16359d9
commit
c76c075569
@ -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…
x
Reference in New Issue
Block a user