X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3a95f73c001e70cd195ea1d46df3040dea7532e8..45cecdf9436fbfb7776f8ac610b280311d497ad7:/src/common/event.cpp diff --git a/src/common/event.cpp b/src/common/event.cpp index ce1e145c79..9896674c61 100644 --- a/src/common/event.cpp +++ b/src/common/event.cpp @@ -554,10 +554,10 @@ wxMouseEvent::wxMouseEvent(wxEventType commandType) m_clickCount = -1; + m_wheelAxis = wxMOUSE_WHEEL_VERTICAL; m_wheelRotation = 0; m_wheelDelta = 0; m_linesPerAction = 0; - m_wheelAxis = 0; } void wxMouseEvent::Assign(const wxMouseEvent& event)