Mercurial > projects > dwt-mac
diff dwt/widgets/Widget.d @ 51:e6f04eb518ae
Updated Canvas to 3.514
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Sun, 07 Dec 2008 21:24:13 +0100 |
parents | 9dd4a17513f9 |
children | 62202ce0039f |
line wrap: on
line diff
--- a/dwt/widgets/Widget.d Sun Dec 07 21:06:50 2008 +0100 +++ b/dwt/widgets/Widget.d Sun Dec 07 21:24:13 2008 +0100 @@ -215,7 +215,7 @@ } objc.id attributedSubstringFromRange (objc.id id, objc.SEL sel, objc.id range) { - return 0; + return null; } void callSuper(objc.id id, objc.SEL sel, objc.id arg0) { @@ -271,7 +271,7 @@ return OS.objc_msgSendSuper(super_struct, sel, arg0); } -int /*long*/ characterIndexForPoint (objc.id id, objc.SEL sel, objc.id point) { +NSInteger characterIndexForPoint (objc.id id, objc.SEL sel, objc.id point) { return OS.NSNotFound; } @@ -1456,8 +1456,8 @@ return getName () ~ " {" ~ string ~ "}"; } -int /*long*/ validAttributesForMarkedText (objc.id id, objc.SEL sel) { - return 0; +objc.id validAttributesForMarkedText (objc.id id, objc.SEL sel) { + return null; } void tabView_didSelectTabViewItem(objc.id id, objc.SEL sel, objc.id tabView, objc.id tabViewItem) {