X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/73fb82f3f3c1e722ad874d487c85249f6e866fbf..8f9d397616d7a685b6c5e13ed982b94aa476e69e:/src/common/event.cpp diff --git a/src/common/event.cpp b/src/common/event.cpp index 14278f5373..dd13024c23 100644 --- a/src/common/event.cpp +++ b/src/common/event.cpp @@ -134,6 +134,11 @@ wxMouseEvent::wxMouseEvent(wxEventType commandType) m_altDown = FALSE; m_controlDown = FALSE; m_shiftDown = FALSE; + m_leftDown = FALSE; + m_rightDown = FALSE; + m_middleDown = FALSE; + m_x = 0; + m_y = 0; } // True if was a button dclick event (1 = left, 2 = middle, 3 = right)