diff dwt/widgets/Tree.d @ 155:e91dcbf77cc7

Fixes runtime problems with dmd and ldc. Changed a couple of floats to CGFloat
author Jacob Carlborg <doob@me.com>
date Mon, 06 Jul 2009 21:17:03 +0200
parents 1ec7c20355bd
children
line wrap: on
line diff
--- a/dwt/widgets/Tree.d	Sat Jun 13 00:25:05 2009 +0200
+++ b/dwt/widgets/Tree.d	Mon Jul 06 21:17:03 2009 +0200
@@ -1681,7 +1681,7 @@
     return (cast(TreeItem) display.getWidget (item)).itemCount !is 0;
 }
 
-int outlineView_numberOfChildrenOfItem (objc.id id, objc.SEL sel, objc.id outlineView, objc.id item) {
+NSInteger outlineView_numberOfChildrenOfItem (objc.id id, objc.SEL sel, objc.id outlineView, objc.id item) {
     if (item is null) return itemCount;
     return (cast(TreeItem) display.getWidget (item)).itemCount;
 }