summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXMouseEvent.c
diff options
context:
space:
mode:
authordas <das>2004-02-23 12:03:18 (GMT)
committerdas <das>2004-02-23 12:03:18 (GMT)
commitcb7dc7e9a85fafa4069ea7d9befc2b187aff4be9 (patch)
treee7e2f14e7088f3372902118b71e98c487d7d8c20 /macosx/tkMacOSXMouseEvent.c
parent424068d0e8dd6fcb04ef498c011262dd8466f3b5 (diff)
downloadtk-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.c1
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;