Mercurial > projects > dwt-win
comparison dwt/graphics/Color.d @ 334:c49e17d48b76
Fix problems at GC run at main()'s end.
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 18 Feb 2009 16:14:31 +0100 |
parents | fd9c62a2998e |
children |
comparison
equal
deleted
inserted
replaced
333:684eed7589a0 | 334:c49e17d48b76 |
---|---|
330 * @param handle the handle for the color | 330 * @param handle the handle for the color |
331 * @return a new color object containing the specified device and handle | 331 * @return a new color object containing the specified device and handle |
332 */ | 332 */ |
333 public static Color win32_new(Device device, int handle) { | 333 public static Color win32_new(Device device, int handle) { |
334 Color color = new Color(device); | 334 Color color = new Color(device); |
335 color.disposeChecking = false; | |
335 color.handle = handle; | 336 color.handle = handle; |
336 return color; | 337 return color; |
337 } | 338 } |
338 | 339 |
339 } | 340 } |