Mercurial > projects > dwt-mac
comparison dwt/internal/theme/Theme.d @ 5:1a8b3cb347e0
Fix Ctors to 'this'
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 27 Aug 2008 14:02:31 +0200 |
parents | 380af2bdd8e5 |
children | 540fa4e9974a |
comparison
equal
deleted
inserted
replaced
4:ab8b5765e3d1 | 5:1a8b3cb347e0 |
---|---|
14 import dwt.graphics.*; | 14 import dwt.graphics.*; |
15 | 15 |
16 public class Theme { | 16 public class Theme { |
17 Device device; | 17 Device device; |
18 | 18 |
19 public Theme(Device device) { | 19 public this(Device device) { |
20 this.device = device; | 20 this.device = device; |
21 } | 21 } |
22 | 22 |
23 void checkTheme() { | 23 void checkTheme() { |
24 if (isDisposed()) DWT.error(DWT.ERROR_GRAPHIC_DISPOSED); | 24 if (isDisposed()) DWT.error(DWT.ERROR_GRAPHIC_DISPOSED); |