Mercurial > projects > dwt-mac
comparison dwt/widgets/TreeColumn.d @ 7:e831403a80a9
Add 'cast' to casts
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 27 Aug 2008 14:30:35 +0200 |
parents | 1a8b3cb347e0 |
children | d8635bb48c7c |
comparison
equal
deleted
inserted
replaced
6:b903c16b6f48 | 7:e831403a80a9 |
---|---|
306 * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> | 306 * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> |
307 * </ul> | 307 * </ul> |
308 */ | 308 */ |
309 public int getWidth () { | 309 public int getWidth () { |
310 checkWidget (); | 310 checkWidget (); |
311 return (int)nsColumn.width(); | 311 return cast(int)nsColumn.width(); |
312 } | 312 } |
313 | 313 |
314 /** | 314 /** |
315 * Causes the receiver to be resized to its preferred size. | 315 * Causes the receiver to be resized to its preferred size. |
316 * For a composite, this involves computing the preferred size | 316 * For a composite, this involves computing the preferred size |