diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-11-04 11:17:31 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-11-04 11:17:31 +0000 |
| commit | d24609eafb56c0c41f0aa72f2b44ee95df6bc2ad (patch) | |
| tree | 2b213220ff9245bc93810a18e1bcdcf60a45d88c | |
| parent | cd433ac67a0416d26815222bc8066f81c83b3170 (diff) | |
Fix speling misteaks :)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4637 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | src/Fl_mac.cxx | 11 |
1 files changed, 6 insertions, 5 deletions
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; } |
