Since we are ignoring horizontal wheel motion for now we need to reset the event

type, otherwise bogus left down events will be sent.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2007-09-22 19:17:12 +00:00
parent 4dfdfde4e2
commit 8a945515b8

View File

@@ -374,6 +374,10 @@ void SetupMouseEvent( wxMouseEvent &wxevent , wxMacCarbonEvent &cEvent )
wxevent.m_wheelDelta = 1;
wxevent.m_linesPerAction = 1;
}
else
{
wxevent.SetEventType( wxEVT_NULL );
}
}
break ;
case kEventMouseEntered :