diff options
author | das <das> | 2004-02-23 12:03:18 (GMT) |
---|---|---|
committer | das <das> | 2004-02-23 12:03:18 (GMT) |
commit | cb7dc7e9a85fafa4069ea7d9befc2b187aff4be9 (patch) | |
tree | e7e2f14e7088f3372902118b71e98c487d7d8c20 /macosx/tkMacOSXMouseEvent.c | |
parent | 424068d0e8dd6fcb04ef498c011262dd8466f3b5 (diff) | |
download | tk-cb7dc7e9a85fafa4069ea7d9befc2b187aff4be9.zip tk-cb7dc7e9a85fafa4069ea7d9befc2b187aff4be9.tar.gz tk-cb7dc7e9a85fafa4069ea7d9befc2b187aff4be9.tar.bz2 |
* macosx/tkMacOSXMouseEvent.c: fixed modifiers for MouseWheel events.
* macosx/Wish.pbproj/project.pbxproj:
* macosx/tkAboutDlg.r: changed year in copyright strings to 2004.
Diffstat (limited to 'macosx/tkMacOSXMouseEvent.c')
-rw-r--r-- | macosx/tkMacOSXMouseEvent.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/macosx/tkMacOSXMouseEvent.c b/macosx/tkMacOSXMouseEvent.c index 150519c..cab8a93 100644 --- a/macosx/tkMacOSXMouseEvent.c +++ b/macosx/tkMacOSXMouseEvent.c @@ -608,6 +608,7 @@ GenerateMouseWheelEvent(MouseEventData * medPtr) winPtr = ( TkWindow *)tkwin; xEvent.type = MouseWheelEvent; xEvent.xkey.keycode = medPtr->delta; + xEvent.xbutton.state = TkMacOSXButtonKeyState(); xEvent.xany.serial = LastKnownRequestProcessed(winPtr->display); xEvent.xany.send_event = false; xEvent.xany.display = winPtr->display; |