diff options
| author | Jason Rumney | 2003-05-27 21:18:22 +0000 |
|---|---|---|
| committer | Jason Rumney | 2003-05-27 21:18:22 +0000 |
| commit | af3a05edaf68db4661105964c3c583e80a80ff1c (patch) | |
| tree | 74904bdd8cc7b3ce1c8bfe073a4f800586c1c095 | |
| parent | 2b5d4601724c1e696e8636d3b2e5e32e0f2dcf8d (diff) | |
| download | emacs-af3a05edaf68db4661105964c3c583e80a80ff1c.tar.gz emacs-af3a05edaf68db4661105964c3c583e80a80ff1c.zip | |
(GET_WHEEL_DELTA_WPARAM): New macro.
| -rw-r--r-- | src/w32term.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/w32term.c b/src/w32term.c index 2900acf7f0a..1c4e6803906 100644 --- a/src/w32term.c +++ b/src/w32term.c | |||
| @@ -73,6 +73,11 @@ Lisp_Object Vx_toolkit_scroll_bars; | |||
| 73 | static int last_mousemove_x = 0; | 73 | static int last_mousemove_x = 0; |
| 74 | static int last_mousemove_y = 0; | 74 | static int last_mousemove_y = 0; |
| 75 | 75 | ||
| 76 | /* Define GET_WHEEL_DELTA_WPARAM macro if system headers don't. */ | ||
| 77 | #ifndef GET_WHEEL_DELTA_WPARAM | ||
| 78 | #define GET_WHEEL_DELTA_WPARAM(wparam) ((short)HIWORD (wparam)) | ||
| 79 | #endif | ||
| 80 | |||
| 76 | /* Non-zero means that a HELP_EVENT has been generated since Emacs | 81 | /* Non-zero means that a HELP_EVENT has been generated since Emacs |
| 77 | start. */ | 82 | start. */ |
| 78 | 83 | ||