diff dwt/internal/cocoa/NSBrowserCell.d @ 1:8b48be5454ce

The internal cocoa classes compile now
author Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com>
date Tue, 19 Aug 2008 17:35:17 +0200
parents 380af2bdd8e5
children f565d3a95c0a
line wrap: on
line diff
--- a/dwt/internal/cocoa/NSBrowserCell.d	Sat Aug 09 17:00:02 2008 +0200
+++ b/dwt/internal/cocoa/NSBrowserCell.d	Tue Aug 19 17:35:17 2008 +0200
@@ -34,7 +34,7 @@
 
     public NSImage alternateImage ()
     {
-        objc.id result = OS.objc_msgSend(this.id, OS.sel_alternateImage);
+        objc.id result = OS.objc_msgSend(this.id_, OS.sel_alternateImage);
         return result !is null ? new NSImage(result) : null;
     }
 
@@ -46,7 +46,7 @@
 
     public NSColor highlightColorInView (NSView controlView)
     {
-        objc.id result = OS.objc_msgSend(this.id, OS.sel_highlightColorInView_1, controlView !is null ? controlView.id : null);
+        objc.id result = OS.objc_msgSend(this.id_, OS.sel_highlightColorInView_1, controlView !is null ? controlView.id_ : null);
         return result !is null ? new NSColor(result) : null;
     }
 
@@ -58,47 +58,47 @@
 
     public NSImage image ()
     {
-        objc.id result = OS.objc_msgSend(this.id, OS.sel_image);
+        objc.id result = OS.objc_msgSend(this.id_, OS.sel_image);
         return result !is null ? new NSImage(result) : null;
     }
 
     public bool isLeaf ()
     {
-        return OS.objc_msgSend(this.id, OS.sel_isLeaf) !is null;
+        return OS.objc_msgSend(this.id_, OS.sel_isLeaf) !is null;
     }
 
     public bool isLoaded ()
     {
-        return OS.objc_msgSend(this.id, OS.sel_isLoaded) !is null;
+        return OS.objc_msgSend(this.id_, OS.sel_isLoaded) !is null;
     }
 
     public void reset ()
     {
-        OS.objc_msgSend(this.id, OS.sel_reset);
+        OS.objc_msgSend(this.id_, OS.sel_reset);
     }
 
     public void set ()
     {
-        OS.objc_msgSend(this.id, OS.sel_set);
+        OS.objc_msgSend(this.id_, OS.sel_set);
     }
 
     public void setAlternateImage (NSImage newAltImage)
     {
-        OS.objc_msgSend(this.id, OS.sel_setAlternateImage_1, newAltImage !is null ? newAltImage.id : null);
+        OS.objc_msgSend(this.id_, OS.sel_setAlternateImage_1, newAltImage !is null ? newAltImage.id_ : null);
     }
 
     public void setImage (NSImage image)
     {
-        OS.objc_msgSend(this.id, OS.sel_setImage_1, image !is null ? image.id : null);
+        OS.objc_msgSend(this.id_, OS.sel_setImage_1, image !is null ? image.id_ : null);
     }
 
     public void setLeaf (bool flag)
     {
-        OS.objc_msgSend(this.id, OS.sel_setLeaf_1, flag);
+        OS.objc_msgSend(this.id_, OS.sel_setLeaf_1, flag);
     }
 
     public void setLoaded (bool flag)
     {
-        OS.objc_msgSend(this.id, OS.sel_setLoaded_1, flag);
+        OS.objc_msgSend(this.id_, OS.sel_setLoaded_1, flag);
     }
 }