Mercurial > projects > dwt-win
comparison dwt/graphics/Region.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 |
---|---|
602 * @param device the device on which to allocate the region | 602 * @param device the device on which to allocate the region |
603 * @param handle the handle for the region | 603 * @param handle the handle for the region |
604 * @return a new region object containing the specified device and handle | 604 * @return a new region object containing the specified device and handle |
605 */ | 605 */ |
606 public static Region win32_new(Device device, HRGN handle) { | 606 public static Region win32_new(Device device, HRGN handle) { |
607 return new Region(device, handle); | 607 auto region = new Region(device, handle); |
608 } | 608 region.disposeChecking = false; |
609 | 609 return region; |
610 } | 610 } |
611 | |
612 } |