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)
commit4600cbd284f4eb0cf9c5d147fc578cff8b099178 (patch)
treee7e2f14e7088f3372902118b71e98c487d7d8c20 /macosx/tkMacOSXMouseEvent.c
parent2c8e5b53c92decc68053cf63fdb9079203ce4b29 (diff)
downloadtk-4600cbd284f4eb0cf9c5d147fc578cff8b099178.zip
tk-4600cbd284f4eb0cf9c5d147fc578cff8b099178.tar.gz
tk-4600cbd284f4eb0cf9c5d147fc578cff8b099178.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;