Attempts to fix OSX and Win builds

This commit is contained in:
Lukas Matena committed 2018-02-28 19:53:32 +01:00
1 parent a62ad3323f
commit 9ea803b000
3 files changed
+17 -35

No files matched your search

+1 -1
View File
@@ -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; }