diff dwt/internal/objc/runtime.d @ 128:07399639c0c8

Added DWT extension to dwt.widgets.MessageBox
author Jacob Carlborg <doob@me.com>
date Sat, 17 Jan 2009 16:26:49 +0100
parents 62202ce0039f
children ad4e1fe71a5a
line wrap: on
line diff
--- a/dwt/internal/objc/runtime.d	Fri Jan 16 23:36:08 2009 +0100
+++ b/dwt/internal/objc/runtime.d	Sat Jan 17 16:26:49 2009 +0100
@@ -222,4 +222,12 @@
     {
         return (cast(double (*)(id, SEL, ARGS...))&dwt.internal.objc.bindings.objc_msgSend_fpret)(self, op, args);
     }
+}
+
+else
+{
+    double objc_msgSend_fpret(ARGS...) (id self, SEL op, ARGS args)
+    {
+        return (cast(double (*)(id, SEL, ARGS...))&dwt.internal.objc.bindings.objc_msgSend)(self, op, args);
+    }
 }
\ No newline at end of file