Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArun Thondapu2016-09-12 05:50:02 -0400
committerArun Thondapu2016-10-25 14:53:06 -0400
commitf5d54d7a79143eac73e9eb26035b43616f954769 (patch)
treede2b61f3a9802b4a90faab4a3925f5f68aa39a7b
parent8d2458212614187f826124ce3340e65bd64f7411 (diff)
downloadeclipse.platform.swt-f5d54d7a79143eac73e9eb26035b43616f954769.tar.gz
eclipse.platform.swt-f5d54d7a79143eac73e9eb26035b43616f954769.tar.xz
eclipse.platform.swt-f5d54d7a79143eac73e9eb26035b43616f954769.zip
Bug 447930 - Accessibility: IA2 object not instantiated until IA2
interfaces are implemented New patch which reverts the previous changes and implements the new solution proposed in bug 447930 comment 19 Change-Id: Iaa0dea59681763a0db77ea793bbb49642d913558 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 6dfa664fc1..a4413829e7 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
@@ -1619,8 +1619,8 @@ public class Accessible {
if (accessibleActionListenersSize() > 0 || accessibleAttributeListenersSize() > 0 ||
accessibleHyperlinkListenersSize() > 0 || accessibleTableListenersSize() > 0 ||
accessibleTableCellListenersSize() > 0 || accessibleTextExtendedListenersSize() > 0 ||
- accessibleValueListenersSize() > 0 || getRelationCount() > 0
- || (control instanceof Button && ((control.getStyle() & SWT.RADIO) != 0))) {
+ accessibleValueListenersSize() > 0 || accessibleControlListenersSize() > 0 || getRelationCount() > 0
+ || (control instanceof Button && ((control.getStyle() & SWT.RADIO) != 0)) || (control instanceof Composite)) {
if (objIServiceProvider == null) createIServiceProvider();
COM.MoveMemory(ppvObject, new long /*int*/[] { objIServiceProvider.getAddress() }, OS.PTR_SIZEOF);
AddRef();
@@ -1828,8 +1828,8 @@ public class Accessible {
if (accessibleActionListenersSize() > 0 || accessibleAttributeListenersSize() > 0 ||
accessibleHyperlinkListenersSize() > 0 || accessibleTableListenersSize() > 0 ||
accessibleTableCellListenersSize() > 0 || accessibleTextExtendedListenersSize() > 0 ||
- accessibleValueListenersSize() > 0 || getRelationCount() > 0
- || (control instanceof Button && ((control.getStyle() & SWT.RADIO) != 0))) {
+ accessibleValueListenersSize() > 0 || accessibleControlListenersSize() > 0 || getRelationCount() > 0
+ || (control instanceof Button && ((control.getStyle() & SWT.RADIO) != 0)) || (control instanceof Composite)) {
if (objIAccessible2 == null) createIAccessible2();
COM.MoveMemory(ppvObject, new long /*int*/[] { objIAccessible2.getAddress() }, OS.PTR_SIZEOF);
AddRef();

Back to the top