Mercurial > projects > dwt-win
diff dwt/widgets/Canvas.d @ 108:6f75fdfa1bcd
Change LRESULT to class, like done in the old DWT.
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 11 Feb 2008 02:44:32 +0100 |
parents | 0f25be5cbe6f |
children | f353be82b6be |
line wrap: on
line diff
--- a/dwt/widgets/Canvas.d Mon Feb 11 00:56:33 2008 +0100 +++ b/dwt/widgets/Canvas.d Mon Feb 11 02:44:32 2008 +0100 @@ -369,7 +369,7 @@ override LRESULT WM_WINDOWPOSCHANGED (int wParam, int lParam) { LRESULT result = super.WM_WINDOWPOSCHANGED (wParam, lParam); - if (result !is LRESULT.NULL) return result; + if (result !is null) return result; /* * Bug in Windows. When a window with style WS_EX_LAYOUTRTL * that contains a caret is resized, Windows does not move the @@ -384,7 +384,7 @@ override LRESULT WM_WINDOWPOSCHANGING (int wParam, int lParam) { LRESULT result = super.WM_WINDOWPOSCHANGING (wParam, lParam); - if (result !is LRESULT.NULL) return result; + if (result !is null) return result; /* * Bug in Windows. When a window with style WS_EX_LAYOUTRTL * that contains a caret is resized, Windows does not move the