Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArun Thondapu2017-01-06 13:13:57 -0500
committerArun Thondapu2017-01-06 13:13:57 -0500
commitd6a0a91f75f68e091e897127c96977e61fe3a612 (patch)
tree49656bac88db1e570d4063cda51350b4538e8e2c
parent2955774d0f5a94e0ce1b2790f4cb863000624897 (diff)
downloadeclipse.platform.swt-R4_2_maintenance.tar.gz
eclipse.platform.swt-R4_2_maintenance.tar.xz
eclipse.platform.swt-R4_2_maintenance.zip
Bug 447930 - Accessibility: IA2 object not instantiated until IA2v4239mR4_2_maintenance
interfaces are implemented Change-Id: I661f84649ed66fbf36424e1972a87e13bdb28889 Signed-off-by: Arun Thondapu <arunkumar.thondapu@in.ibm.com>
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Accessibility/win32/org/eclipse/swt/accessibility/Accessible.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Accessibility/win32/org/eclipse/swt/accessibility/Accessible.java b/bundles/org.eclipse.swt/Eclipse SWT Accessibility/win32/org/eclipse/swt/accessibility/Accessible.java
index fc795f24a7..1a293b44fc 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Accessibility/win32/org/eclipse/swt/accessibility/Accessible.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Accessibility/win32/org/eclipse/swt/accessibility/Accessible.java
@@ -1558,8 +1558,8 @@ public class Accessible {
if (accessibleActionListeners.size() > 0 || accessibleAttributeListeners.size() > 0 ||
accessibleHyperlinkListeners.size() > 0 || accessibleTableListeners.size() > 0 ||
accessibleTableCellListeners.size() > 0 || accessibleTextExtendedListeners.size() > 0 ||
- accessibleValueListeners.size() > 0 || getRelationCount() > 0
- || (control instanceof Button && ((control.getStyle() & SWT.RADIO) != 0))) {
+ accessibleValueListeners.size() > 0 || accessibleControlListeners.size() > 0 || getRelationCount() > 0
+ || (control instanceof Button && ((control.getStyle() & SWT.RADIO) != 0)) || (control instanceof Composite)) {
if (objIServiceProvider == null) createIServiceProvider();
COM.MoveMemory(ppvObject, new int /*long*/[] { objIServiceProvider.getAddress() }, OS.PTR_SIZEOF);
AddRef();
@@ -1722,8 +1722,8 @@ public class Accessible {
if (accessibleActionListeners.size() > 0 || accessibleAttributeListeners.size() > 0 ||
accessibleHyperlinkListeners.size() > 0 || accessibleTableListeners.size() > 0 ||
accessibleTableCellListeners.size() > 0 || accessibleTextExtendedListeners.size() > 0 ||
- accessibleValueListeners.size() > 0 || getRelationCount() > 0
- || (control instanceof Button && ((control.getStyle() & SWT.RADIO) != 0))) {
+ accessibleValueListeners.size() > 0 || accessibleControlListeners.size() > 0 || getRelationCount() > 0
+ || (control instanceof Button && ((control.getStyle() & SWT.RADIO) != 0)) || (control instanceof Composite)) {
if (objIAccessible2 == null) createIAccessible2();
COM.MoveMemory(ppvObject, new int /*long*/[] { objIAccessible2.getAddress() }, OS.PTR_SIZEOF);
AddRef();

Back to the top