From aa56419ea8c02f1c5755fefad742d10be6699582 Mon Sep 17 00:00:00 2001 From: orbitcowboy Date: Wed, 24 May 2017 17:29:25 +0200 Subject: [PATCH] Fix accidental use of comma operator in wxMouseState Replace an accidental comma with the semicolon, which is what should have been used here since the beginning (even though comma actually did do the same thing). --- include/wx/mousestate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/mousestate.h b/include/wx/mousestate.h index 2ea1cc5bf1..ff8c07f1d9 100644 --- a/include/wx/mousestate.h +++ b/include/wx/mousestate.h @@ -110,7 +110,7 @@ public: // these functions are mostly used by wxWidgets itself void SetX(wxCoord x) { m_x = x; } void SetY(wxCoord y) { m_y = y; } - void SetPosition(wxPoint pos) { m_x = pos.x, m_y = pos.y; } + void SetPosition(wxPoint pos) { m_x = pos.x; m_y = pos.y; } void SetLeftDown(bool down) { m_leftDown = down; } void SetMiddleDown(bool down) { m_middleDown = down; }