diff options
author | Felipe Heidrich <fheidric> | 2009-04-27 16:37:51 +0000 |
---|---|---|
committer | Felipe Heidrich <fheidric> | 2009-04-27 16:37:51 +0000 |
commit | e8c64c87a3583942e448ea8c66400a3015545dce (patch) | |
tree | cc0c4928802bc5ba6ad9042f317cf86a7f6120e2 /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Composite.java | |
parent | 561eb94beaaab62fd64c06da9d81b06f4006fd7c (diff) | |
download | eclipse.platform.swt-e8c64c87a3583942e448ea8c66400a3015545dce.tar.gz eclipse.platform.swt-e8c64c87a3583942e448ea8c66400a3015545dce.tar.xz eclipse.platform.swt-e8c64c87a3583942e448ea8c66400a3015545dce.zip |
Bug 159465: Accessibilities: Improve traverse order for SWT ToolBar
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Composite.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Composite.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Composite.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Composite.java index 98ab37ac21..0bbe411c56 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Composite.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Composite.java @@ -231,15 +231,15 @@ public Point computeSize (int wHint, int hHint, boolean changed) { return new Point (trim.width, trim.height); } -Control [] computeTabList () { - Control result [] = super.computeTabList (); +Widget [] computeTabList () { + Widget result [] = super.computeTabList (); if (result.length == 0) return result; Control [] list = tabList != null ? _getTabList () : _getChildren (); for (int i=0; i<list.length; i++) { Control child = list [i]; - Control [] childList = child.computeTabList (); + Widget [] childList = child.computeTabList (); if (childList.length != 0) { - Control [] newResult = new Control [result.length + childList.length]; + Widget [] newResult = new Widget [result.length + childList.length]; System.arraycopy (result, 0, newResult, 0, result.length); System.arraycopy (childList, 0, newResult, result.length, childList.length); result = newResult; |