changeset 79:0953c252a764

Fix compile errors
author Frank Benoit <benoit@tionex.de>
date Sun, 25 May 2008 04:55:40 +0200
parents 4ac9946b9fb5
children b3daa78bc913
files dwtx/ui/forms/widgets/Section.d dwtx/ui/internal/forms/widgets/ControlSegment.d
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dwtx/ui/forms/widgets/Section.d	Sat May 24 08:33:56 2008 +0200
+++ b/dwtx/ui/forms/widgets/Section.d	Sun May 25 04:55:40 2008 +0200
@@ -122,7 +122,7 @@
         super.internalSetExpanded(expanded);
         if ((getExpansionStyle() & TITLE_BAR) !is 0) {
             if (!expanded)
-                super.setBackgroundImage(null);
+                super.setBackgroundImage(cast(Image)null);
         }
         reflow();
     }
--- a/dwtx/ui/internal/forms/widgets/ControlSegment.d	Sat May 24 08:33:56 2008 +0200
+++ b/dwtx/ui/internal/forms/widgets/ControlSegment.d	Sun May 25 04:55:40 2008 +0200
@@ -25,6 +25,8 @@
 import dwt.widgets.Composite;
 import dwt.widgets.Control;
 
+import dwt.dwthelper.utils;
+
 public class ControlSegment : ObjectSegment, IFocusSelectable {