diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-11-25 20:40:16 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-11-25 20:40:16 +0000 |
| commit | 9e8a88e66cb9e7739542d61e09c803cecc7e6248 (patch) | |
| tree | 77e793b1f28568c3fc8b8b2cd146f34c66cd89d8 /src | |
| parent | fe286dfe7b0ae6827942d40586906431c1d97287 (diff) | |
Fix mousewheel handler bug (using wrong variable in initial check)
Add sudoku game app (fun for the holidays! :)
Use "-Os -g" as the default optimization settings.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4652 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
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 ); |
