Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilenio Quarti2004-06-18 20:37:42 +0000
committerSilenio Quarti2004-06-18 20:37:42 +0000
commitbbf1be6e1c3f8c8dd03dc9654b84a56096f0fda0 (patch)
tree8d1923b4ad82dca37ff8c4429e0a83ae951e242a
parenta1a9d1e35d087f81f755576a2f8d5e7a58e72bd4 (diff)
downloadeclipse.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.java6
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;
+}
+
}

Back to the top