summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Fl_mac.cxx11
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;
}