mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 07:34:03 -06:00
Attempts to fix OSX and Win builds
This commit is contained in:
parent
a62ad3323f
commit
9ea803b000
3 changed files with 17 additions and 35 deletions
|
@ -68,7 +68,7 @@ private:
|
|||
|
||||
class ButtonToDrag {
|
||||
public:
|
||||
bool operator<(ButtonToDrag& a) { return m_pos.m_x < a.m_pos.m_x; }
|
||||
bool operator<(const ButtonToDrag& a) const { return m_pos.m_x < a.m_pos.m_x; }
|
||||
ButtonToDrag(wxPoint2DDouble pos) : m_pos{pos} {};
|
||||
wxPoint2DDouble get_pos() const { return m_pos; }
|
||||
void move(double x,double y) { m_pos.m_x+=x; m_pos.m_y+=y; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue