Mercurial > projects > dwt-addons
diff dwtx/ui/internal/forms/widgets/FormsResources.d @ 77:26c6c9dfd13c
ui.forms compile, just FormTextModel with xml reimpl left todo
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 24 May 2008 06:59:31 +0200 |
parents | 5d489b9f966c |
children | 7ffeace6c47f |
line wrap: on
line diff
--- a/dwtx/ui/internal/forms/widgets/FormsResources.d Sat May 24 06:18:55 2008 +0200 +++ b/dwtx/ui/internal/forms/widgets/FormsResources.d Sat May 24 06:59:31 2008 +0200 @@ -31,17 +31,17 @@ private static Cursor textCursor; public static Cursor getBusyCursor() { - if (busyCursorisnull) + if (busyCursor is null) busyCursor = new Cursor(Display.getCurrent(), DWT.CURSOR_WAIT); return busyCursor; } public static Cursor getHandCursor() { - if (handCursorisnull) + if (handCursor is null) handCursor = new Cursor(Display.getCurrent(), DWT.CURSOR_HAND); return handCursor; } public static Cursor getTextCursor() { - if (textCursorisnull) + if (textCursor is null) textCursor = new Cursor(Display.getCurrent(), DWT.CURSOR_IBEAM); return textCursor; }