Mercurial > projects > dwt-win
diff dwt/custom/TableTreeItem.d @ 213:36f5cb12e1a2
Update to SWT 3.4M7
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 17 May 2008 17:34:28 +0200 |
parents | ab60f3309436 |
children | a59d51c12b42 |
line wrap: on
line diff
--- a/dwt/custom/TableTreeItem.d Mon May 05 00:12:38 2008 +0200 +++ b/dwt/custom/TableTreeItem.d Sat May 17 17:34:28 2008 +0200 @@ -206,7 +206,7 @@ */ if (parent.sizeImage is null) { int itemHeight = parent.getItemHeight(); - parent.sizeImage = new Image(null, itemHeight, itemHeight); + parent.sizeImage = new Image(parent.getDisplay(), itemHeight, itemHeight); GC gc = new GC (parent.sizeImage); gc.setBackground(parent.getBackground()); gc.fillRectangle(0, 0, itemHeight, itemHeight);