macOS expose scroll invertion in event
applied patch from #18358, thanks for the patch Andy
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user