diff options
author | Kevin Barnes <krbarnes> | 2009-02-02 18:16:05 +0000 |
---|---|---|
committer | Kevin Barnes <krbarnes> | 2009-02-02 18:16:05 +0000 |
commit | 3518dcf86c71885a55fc8e7584e113022fefcef3 (patch) | |
tree | 8c57ce78092de6e9b4c4e10a465459ee1636ce3b | |
parent | e10e62a8c9c33da638a0411d71e097c9cc8d32da (diff) | |
download | eclipse.platform.swt-3518dcf86c71885a55fc8e7584e113022fefcef3.tar.gz eclipse.platform.swt-3518dcf86c71885a55fc8e7584e113022fefcef3.tar.xz eclipse.platform.swt-3518dcf86c71885a55fc8e7584e113022fefcef3.zip |
262681 - isFocusControl incorrect
4 files changed, 10 insertions, 4 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/AppKitFull.bridgesupport.extras b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/AppKitFull.bridgesupport.extras index c3737b8c0c..0fd052674f 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/AppKitFull.bridgesupport.extras +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/AppKitFull.bridgesupport.extras @@ -19549,8 +19549,8 @@ <arg name="sender" swt_gen="true"></arg> <retval swt_gen="true"></retval> </method> -<method selector="delegate"> -<retval></retval> +<method selector="delegate" swt_gen="true"> +<retval swt_gen="true"></retval> </method> <method selector="delete:"> <arg name="sender"></arg> diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CoreFoundationFull.bridgesupport.extras b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CoreFoundationFull.bridgesupport.extras index 44ec61d3c4..cc50e8c8a5 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CoreFoundationFull.bridgesupport.extras +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CoreFoundationFull.bridgesupport.extras @@ -3149,8 +3149,8 @@ <arg name="order" swt_gen="true"></arg> <arg name="callout" swt_gen="true"> <arg swt_gen="true"></arg> -<arg swt_gen="true"></arg> -<arg swt_gen="true"></arg> +<arg></arg> +<arg></arg> <retval swt_gen="true"></retval> </arg> <arg name="context" swt_gen="true"></arg> diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSText.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSText.java index d9d95ba4b8..96937a2a72 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSText.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSText.java @@ -32,6 +32,11 @@ public void cut(id sender) { OS.objc_msgSend(this.id, OS.sel_cut_, sender != null ? sender.id : 0); } +public id delegate() { + int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_delegate); + return result != 0 ? new id(result) : null; +} + public NSFont font() { int /*long*/ result = OS.objc_msgSend(this.id, OS.sel_font); return result != 0 ? new NSFont(result) : null; diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java index 172e9d65f4..3a518c9945 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java @@ -676,6 +676,7 @@ public static final int /*long*/ sel_defaultLineHeightForFont_ = sel_registerNam public static final int /*long*/ sel_defaultManager = sel_registerName("defaultManager"); public static final int /*long*/ sel_defaultPrinter = sel_registerName("defaultPrinter"); public static final int /*long*/ sel_defaultTimeZone = sel_registerName("defaultTimeZone"); +public static final int /*long*/ sel_delegate = sel_registerName("delegate"); public static final int /*long*/ sel_deleteCookie_ = sel_registerName("deleteCookie:"); public static final int /*long*/ sel_deliverResult = sel_registerName("deliverResult"); public static final int /*long*/ sel_deltaX = sel_registerName("deltaX"); |