Mercurial > projects > dwt-mac
diff dwt/internal/cocoa/NSEvent.d @ 46:cfa563df4fdd
Updated Widget and Display to 3.514
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Fri, 05 Dec 2008 16:00:41 +0100 |
parents | d8635bb48c7c |
children | 62202ce0039f |
line wrap: on
line diff
--- a/dwt/internal/cocoa/NSEvent.d Mon Dec 01 17:07:00 2008 +0100 +++ b/dwt/internal/cocoa/NSEvent.d Fri Dec 05 16:00:41 2008 +0100 @@ -103,8 +103,8 @@ return result; } -public int /*long*/ modifierFlags() { - return OS.objc_msgSend(this.id, OS.sel_modifierFlags); +public NSUInteger modifierFlags() { + return cast(NSUInteger) OS.objc_msgSend(this.id, OS.sel_modifierFlags); } public static NSPoint mouseLocation() {