diff options
author | Silenio Quarti | 2012-09-24 18:45:57 +0000 |
---|---|---|
committer | Silenio Quarti | 2012-09-24 18:45:57 +0000 |
commit | 5721cfd149c1026b4c21848f64c2b57027ac8c7e (patch) | |
tree | b16600bca597a4a0dc9d27194d5761c53151a395 /bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSButton.java | |
parent | bc8036435837353efa5da8c19b6a3003dbb86045 (diff) | |
download | eclipse.platform.swt-5721cfd149c1026b4c21848f64c2b57027ac8c7e.tar.gz eclipse.platform.swt-5721cfd149c1026b4c21848f64c2b57027ac8c7e.tar.xz eclipse.platform.swt-5721cfd149c1026b4c21848f64c2b57027ac8c7e.zip |
Make 64-bit the default source code
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSButton.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSButton.java | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSButton.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSButton.java index b26e093a93..5d9e073770 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSButton.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSButton.java @@ -16,7 +16,7 @@ public NSButton() { super(); } -public NSButton(int /*long*/ id) { +public NSButton(long /*int*/ id) { super(id); } @@ -25,7 +25,7 @@ public NSButton(id id) { } public NSAttributedString attributedTitle() { - int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_attributedTitle); + long /*int*/ result = OS.objc_msgSend(this.id, OS.sel_attributedTitle); return result != 0 ? new NSAttributedString(result) : null; } @@ -37,7 +37,7 @@ public void setAttributedTitle(NSAttributedString aString) { OS.objc_msgSend(this.id, OS.sel_setAttributedTitle_, aString != null ? aString.id : 0); } -public void setBezelStyle(int /*long*/ bezelStyle) { +public void setBezelStyle(long /*int*/ bezelStyle) { OS.objc_msgSend(this.id, OS.sel_setBezelStyle_, bezelStyle); } @@ -45,7 +45,7 @@ public void setBordered(boolean flag) { OS.objc_msgSend(this.id, OS.sel_setBordered_, flag); } -public void setButtonType(int /*long*/ aType) { +public void setButtonType(long /*int*/ aType) { OS.objc_msgSend(this.id, OS.sel_setButtonType_, aType); } @@ -53,7 +53,7 @@ public void setImage(NSImage image) { OS.objc_msgSend(this.id, OS.sel_setImage_, image != null ? image.id : 0); } -public void setImagePosition(int /*long*/ aPosition) { +public void setImagePosition(long /*int*/ aPosition) { OS.objc_msgSend(this.id, OS.sel_setImagePosition_, aPosition); } @@ -61,7 +61,7 @@ public void setKeyEquivalent(NSString charCode) { OS.objc_msgSend(this.id, OS.sel_setKeyEquivalent_, charCode != null ? charCode.id : 0); } -public void setState(int /*long*/ value) { +public void setState(long /*int*/ value) { OS.objc_msgSend(this.id, OS.sel_setState_, value); } @@ -69,15 +69,15 @@ public void setTitle(NSString aString) { OS.objc_msgSend(this.id, OS.sel_setTitle_, aString != null ? aString.id : 0); } -public int /*long*/ state() { +public long /*int*/ state() { return OS.objc_msgSend(this.id, OS.sel_state); } -public static int /*long*/ cellClass() { +public static long /*int*/ cellClass() { return OS.objc_msgSend(OS.class_NSButton, OS.sel_cellClass); } -public static void setCellClass(int /*long*/ factoryId) { +public static void setCellClass(long /*int*/ factoryId) { OS.objc_msgSend(OS.class_NSButton, OS.sel_setCellClass_, factoryId); } |