diff dwt/widgets/Display.d @ 128:07e8963537b7

removed tango_sys_win32 and added all necessary bindings to the dwt.internal.win32 WINTYPES and WINAPI modules
author Frank Benoit <benoit@tionex.de>
date Tue, 12 Feb 2008 21:25:00 +0100
parents 25f88bf5a6df
children 184ab53b7785
line wrap: on
line diff
--- a/dwt/widgets/Display.d	Mon Feb 11 22:30:50 2008 -0800
+++ b/dwt/widgets/Display.d	Tue Feb 12 21:25:00 2008 +0100
@@ -1324,7 +1324,7 @@
     return null;
 }
 
-private static extern(Windows) int foregroundIdleProcFunc (int code, int wParam, int lParam) {
+private static extern(Windows) int foregroundIdleProcFunc (int code, uint wParam, int lParam) {
     auto d = Display.getCurrent();
     return d.foregroundIdleProc( code, wParam, lParam );
 }
@@ -1994,7 +1994,7 @@
     return result;
 }
 
-static extern(Windows) int getMsgFunc (int code, int wParam, int lParam) {
+static extern(Windows) int getMsgFunc (int code, uint wParam, int lParam) {
     return Display.getCurrent().getMsgProc( code, wParam, lParam );
 }
 
@@ -3100,7 +3100,7 @@
     return 1;
 }
 
-private static extern(Windows) int msgFilterProcFunc (int code, int wParam, int lParam) {
+private static extern(Windows) int msgFilterProcFunc (int code, uint wParam, int lParam) {
     Display pThis = Display.getCurrent();
     return pThis.msgFilterProc( code, wParam, lParam );
 }