From 8a945515b8299bdb042c58eee68aab14d45baa5d Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sat, 22 Sep 2007 19:17:12 +0000 Subject: [PATCH] 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 --- src/mac/carbon/toplevel.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mac/carbon/toplevel.cpp b/src/mac/carbon/toplevel.cpp index 2533d86b13..b4eb9c4467 100644 --- a/src/mac/carbon/toplevel.cpp +++ b/src/mac/carbon/toplevel.cpp @@ -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 :