Mercurial > projects > dwt-win
comparison dwt/graphics/Image.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 | eddc0e013cb8 |
children |
comparison
equal
deleted
inserted
replaced
333:684eed7589a0 | 334:c49e17d48b76 |
---|---|
2150 * @param handle the OS handle for the image | 2150 * @param handle the OS handle for the image |
2151 * @return a new image object containing the specified device, type and handle | 2151 * @return a new image object containing the specified device, type and handle |
2152 */ | 2152 */ |
2153 public static Image win32_new(Device device, int type, HGDIOBJ handle) { | 2153 public static Image win32_new(Device device, int type, HGDIOBJ handle) { |
2154 Image image = new Image(device); | 2154 Image image = new Image(device); |
2155 image.disposeChecking = false; | |
2155 image.type = type; | 2156 image.type = type; |
2156 image.handle = handle; | 2157 image.handle = handle; |
2157 return image; | 2158 return image; |
2158 } | 2159 } |
2159 | 2160 |