macOS expose scroll invertion in event

applied patch from #18358, thanks for the patch Andy
This commit is contained in:
Stefan Csomor
2019-03-12 12:22:41 +01:00
parent 593257ea05
commit f163578c94
5 changed files with 28 additions and 3 deletions

View File

@@ -577,6 +577,7 @@ wxMouseEvent::wxMouseEvent(wxEventType commandType)
m_wheelAxis = wxMOUSE_WHEEL_VERTICAL;
m_wheelRotation = 0;
m_wheelDelta = 0;
m_wheelInverted = false;
m_linesPerAction = 0;
m_columnsPerAction = 0;
m_magnification = 0.0f;
@@ -601,6 +602,7 @@ void wxMouseEvent::Assign(const wxMouseEvent& event)
m_wheelRotation = event.m_wheelRotation;
m_wheelDelta = event.m_wheelDelta;
m_wheelInverted = event.m_wheelInverted;
m_linesPerAction = event.m_linesPerAction;
m_columnsPerAction = event.m_columnsPerAction;
m_wheelAxis = event.m_wheelAxis;