]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/event.cpp
update from Reinout van Schouwen
[wxWidgets.git] / src / common / event.cpp
index 06dbaf5644eade54e05dce15c4dc31654dd0e8a1..385f51604062988e827b9f077c3d05f135a0422b 100644 (file)
@@ -539,6 +539,7 @@ wxMouseEvent::wxMouseEvent(wxEventType commandType)
     m_wheelRotation = 0;
     m_wheelDelta = 0;
     m_linesPerAction = 0;
+    m_wheelAxis = 0;
 }
 
 void wxMouseEvent::Assign(const wxMouseEvent& event)
@@ -560,6 +561,7 @@ void wxMouseEvent::Assign(const wxMouseEvent& event)
     m_wheelRotation = event.m_wheelRotation;
     m_wheelDelta = event.m_wheelDelta;
     m_linesPerAction = event.m_linesPerAction;
+    m_wheelAxis = event.m_wheelAxis;
 }
 
 // return true if was a button dclick event