diff options
author | das <das> | 2004-02-17 07:17:17 (GMT) |
---|---|---|
committer | das <das> | 2004-02-17 07:17:17 (GMT) |
commit | 064b39544a3a47938062584c49ae51439b08dc80 (patch) | |
tree | 67b9bc56aad5c8f8f288c7a7ab5af743b2fe3dc8 /macosx/tkMacOSXMouseEvent.c | |
parent | 53542ad7b74ce909809d9e560c25ab6d946d8f78 (diff) | |
download | tk-064b39544a3a47938062584c49ae51439b08dc80.zip tk-064b39544a3a47938062584c49ae51439b08dc80.tar.gz tk-064b39544a3a47938062584c49ae51439b08dc80.tar.bz2 |
* macosx/tkMacOSXMouseEvent.c: fixed modifiers for MouseWheel events.
* library/listbox.tcl:
* library/text.tcl:
* library/scrlbar.tcl: on Mac OS, add bindings for MouseWheel with
modifiers, according to platform convention:
Option increases scrolling speed 10 fold; Space scrolls horizontally.
* 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; |