diff options
author | Silenio Quarti | 2004-06-18 20:37:42 +0000 |
---|---|---|
committer | Silenio Quarti | 2004-06-18 20:37:42 +0000 |
commit | bbf1be6e1c3f8c8dd03dc9654b84a56096f0fda0 (patch) | |
tree | 8d1923b4ad82dca37ff8c4429e0a83ae951e242a | |
parent | a1a9d1e35d087f81f755576a2f8d5e7a58e72bd4 (diff) | |
download | eclipse.platform.swt-bbf1be6e1c3f8c8dd03dc9654b84a56096f0fda0.tar.gz eclipse.platform.swt-bbf1be6e1c3f8c8dd03dc9654b84a56096f0fda0.tar.xz eclipse.platform.swt-bbf1be6e1c3f8c8dd03dc9654b84a56096f0fda0.zip |
*** empty log message ***
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Button.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Button.java b/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Button.java index dd7cc03924..3d901f3c14 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Button.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Button.java @@ -698,4 +698,10 @@ public void setText (String string) { redraw (); } +int traversalCode (int key, int theEvent) { + int code = super.traversalCode (key, theEvent); + if ((style & SWT.RADIO) != 0) code |= SWT.TRAVERSE_ARROW_NEXT | SWT.TRAVERSE_ARROW_PREVIOUS; + return code; +} + } |