diff --git a/interface/wx/mousestate.h b/interface/wx/mousestate.h index 4562f3a3db..2c5b4f9313 100644 --- a/interface/wx/mousestate.h +++ b/interface/wx/mousestate.h @@ -107,7 +107,7 @@ public: void SetX(wxCoord x); void SetY(wxCoord y); - void SetPosition(wxPoint pos); + void SetPosition(const wxPoint& pos); void SetLeftDown(bool down); void SetMiddleDown(bool down);