diff options
author | Silenio Quarti <silenio> | 2008-07-10 21:18:52 +0000 |
---|---|---|
committer | Silenio Quarti <silenio> | 2008-07-10 21:18:52 +0000 |
commit | fe01df1082b5613213a59b03292c02660626087d (patch) | |
tree | bfe9375fc18a48bccd329daaac69a66e89849c8d | |
parent | 1a6e006e3846000447e8938db0bd1aa6f52d6fd2 (diff) | |
download | eclipse.platform.swt-fe01df1082b5613213a59b03292c02660626087d.tar.gz eclipse.platform.swt-fe01df1082b5613213a59b03292c02660626087d.tar.xz eclipse.platform.swt-fe01df1082b5613213a59b03292c02660626087d.zip |
make consistent to other platforms
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Button.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Button.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Button.java index a8e8f35d06..8dd6bbfaaa 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Button.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Button.java @@ -671,6 +671,7 @@ public void setText (String string) { int traversalCode (int key, NSEvent theEvent) { int code = super.traversalCode (key, theEvent); + if ((style & SWT.ARROW) != 0) code &= ~(SWT.TRAVERSE_TAB_NEXT | SWT.TRAVERSE_TAB_PREVIOUS); if ((style & SWT.RADIO) != 0) code |= SWT.TRAVERSE_ARROW_NEXT | SWT.TRAVERSE_ARROW_PREVIOUS; return code; } |