diff dwt/custom/TableTree.d @ 315:349b8c12e243

Sync dwt/custom with dwt-linux
author Frank Benoit <benoit@tionex.de>
date Tue, 07 Oct 2008 16:18:26 +0200
parents a59d51c12b42
children
line wrap: on
line diff
--- a/dwt/custom/TableTree.d	Tue Oct 07 14:44:44 2008 +0200
+++ b/dwt/custom/TableTree.d	Tue Oct 07 16:18:26 2008 +0200
@@ -36,7 +36,6 @@
 import dwt.widgets.TableItem;
 import dwt.widgets.TypedListener;
 import dwt.custom.TableTreeItem;
-
 import dwt.dwthelper.utils;
 
 /**
@@ -776,7 +775,7 @@
  */
 public void setSelection (TableTreeItem[] items) {
     checkWidget ();
-    // DWT extension: allow null array
+    // DWT extension: allow null for zero length string
     //if (items is null) DWT.error (DWT.ERROR_NULL_ARGUMENT);
     int length = items.length;
     if (length is 0 || ((table.getStyle() & DWT.SINGLE) !is 0 && length > 1)) {