diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_mac.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_mac.cxx b/src/Fl_mac.cxx index ddf23e1e0..a8f13cb34 100644 --- a/src/Fl_mac.cxx +++ b/src/Fl_mac.cxx @@ -799,7 +799,7 @@ static pascal OSStatus carbonMousewheelHandler( EventHandlerCallRef nextHandler, // 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 (GetEventKind(ev)==11) { // 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 ); |
