Mercurial > projects > dwt2
comparison org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/widgets/Item.d @ 51:c01d033c633a
[swt lin]
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Fri, 27 Mar 2009 19:58:06 +0100 |
parents | f713da8bc051 |
children |
comparison
equal
deleted
inserted
replaced
50:d5075f5226e5 | 51:c01d033c633a |
---|---|
181 */ | 181 */ |
182 public void setText (String string) { | 182 public void setText (String string) { |
183 checkWidget (); | 183 checkWidget (); |
184 // SWT extension: allow null for zero length string | 184 // SWT extension: allow null for zero length string |
185 //if (string is null) error (SWT.ERROR_NULL_ARGUMENT); | 185 //if (string is null) error (SWT.ERROR_NULL_ARGUMENT); |
186 text = string.dup; | 186 text = string._idup(); |
187 } | 187 } |
188 | 188 |
189 } | 189 } |