From d24609eafb56c0c41f0aa72f2b44ee95df6bc2ad Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Fri, 4 Nov 2005 11:17:31 +0000 Subject: Fix speling misteaks :) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4637 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_mac.cxx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/Fl_mac.cxx b/src/Fl_mac.cxx index 1b296e12f..e97e0e3c7 100644 --- a/src/Fl_mac.cxx +++ b/src/Fl_mac.cxx @@ -795,15 +795,16 @@ static pascal OSStatus carbonWindowHandler( EventHandlerCallRef nextHandler, Eve */ static pascal OSStatus carbonMousewheelHandler( EventHandlerCallRef nextHandler, EventRef ev, void *userData ) { - // Handle the new "MightyMouse" mouse wheel events. Please, someone explaint ot me - // why Apple changed the API on this even though the current API supports two wheels - // just fine. Matthias, + // Handle the new "MightyMouse" mouse wheel events. Please, someone explain + // to me why Apple changed the API on this even though the current API + // supports two wheels just fine. Matthias, EventRef event; if (GetEventKind(event)==11) { - // if this is a "MightyMouse" event, we need to convert it into a regulare MouseWheel event + // if this is a "MightyMouse" event, we need to convert it into a regular + // MouseWheel event GetEventParameter( ev, kEventParamEventRef, typeEventRef, NULL, sizeof( EventRef ), NULL, &event ); } else { - // otherwise, we simply copy the event (can we safely do that?) + // otherwise, we simply copy the event... event = ev; } -- cgit v1.2.3