Mercurial > projects > dwt-win
diff dwt/widgets/DirectoryDialog.d @ 239:43b41c7fe84a
work on allow null strings and arrays
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Fri, 20 Jun 2008 16:27:36 +0200 |
parents | 36f5cb12e1a2 |
children | fd9c62a2998e |
line wrap: on
line diff
--- a/dwt/widgets/DirectoryDialog.d Fri Jun 20 01:29:54 2008 +0200 +++ b/dwt/widgets/DirectoryDialog.d Fri Jun 20 16:27:36 2008 +0200 @@ -308,12 +308,10 @@ * * @param string the message * - * @exception IllegalArgumentException <ul> - * <li>ERROR_NULL_ARGUMENT - if the string is null</li> - * </ul> */ public void setMessage (String string) { - if (string is null) error (DWT.ERROR_NULL_ARGUMENT); + // DWT extension: allow null string + //if (string is null) error (DWT.ERROR_NULL_ARGUMENT); message = string; }