Mercurial > projects > dwt-mac
diff dwt/widgets/Decorations.d @ 37:642f460a0908
Fixed a lot of compile errors, a "hello world" app compiles now
author | Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com> |
---|---|
date | Fri, 10 Oct 2008 12:29:48 +0200 |
parents | db5a898b2119 |
children | d8635bb48c7c |
line wrap: on
line diff
--- a/dwt/widgets/Decorations.d Tue Oct 07 12:56:18 2008 +0200 +++ b/dwt/widgets/Decorations.d Fri Oct 10 12:29:48 2008 +0200 @@ -106,7 +106,7 @@ */ public class Decorations : Canvas { Image image; - Image [] images = new Image [0]; + Image [] images; Menu menuBar; String text = ""; bool minimized, maximized; @@ -157,6 +157,7 @@ */ public this (Composite parent, int style) { super (parent, checkStyle (style)); + images = new Image [0]; } static int checkStyle (int style) {