Mercurial > projects > dwt-win
changeset 236:9c1bb90eba13
merge
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 08 Jun 2008 15:12:40 +0200 |
parents | ec7da638647f (current diff) 51a84342d244 (diff) |
children | e2affbeb686d |
files | |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/dwt/internal/win32/OS.d Sun Jun 08 15:12:08 2008 +0200 +++ b/dwt/internal/win32/OS.d Sun Jun 08 15:12:40 2008 +0200 @@ -3506,7 +3506,7 @@ return MAKELONG( l, h ); } public static int GET_WHEEL_DELTA_WPARAM(int /*long*/ wParam){ - return HIWORD(wParam); + return cast(short) HIWORD(wParam); } public static int GET_X_LPARAM(int /*long*/ lp){