summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Composite.java
diff options
context:
space:
mode:
authorFelipe Heidrich <fheidric>2009-04-27 18:27:21 +0000
committerFelipe Heidrich <fheidric>2009-04-27 18:27:21 +0000
commit2597e78c6f8cd2287e06e8df541d9c78d8c54c3d (patch)
tree69d4b3402a4154a0b4ba39e0f4d479a5415e043a /bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Composite.java
parent98160a579c9df21bc3906776844181c243e86f63 (diff)
downloadeclipse.platform.swt-2597e78c6f8cd2287e06e8df541d9c78d8c54c3d.tar.gz
eclipse.platform.swt-2597e78c6f8cd2287e06e8df541d9c78d8c54c3d.tar.xz
eclipse.platform.swt-2597e78c6f8cd2287e06e8df541d9c78d8c54c3d.zip
Bug 159465: Accessibilities: Improve traverse order for SWT ToolBar
code consistency
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Composite.java')
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Composite.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Composite.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Composite.java
index ab8e9b2259..0bb0a70777 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Composite.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Composite.java
@@ -235,15 +235,15 @@ protected void checkSubclass () {
/* Do nothing - Subclassing is allowed */
}
-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;