Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArun Thondapu2016-09-12 09:50:02 +0000
committerArun Thondapu2016-11-03 11:22:14 +0000
commit9b53344d8373ca9d8358d3d1bfa465436ce92353 (patch)
tree17d15832e5307b11e2f5c79f5d7e8fe376619d92
parent17ca27dc4f59125619a731609ec533cd1a18fba8 (diff)
downloadeclipse.platform.swt-9b53344d8373ca9d8358d3d1bfa465436ce92353.tar.gz
eclipse.platform.swt-9b53344d8373ca9d8358d3d1bfa465436ce92353.tar.xz
eclipse.platform.swt-9b53344d8373ca9d8358d3d1bfa465436ce92353.zip
Bug 447930 - Accessibility: IA2 object not instantiated until IA2v4430r
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 db13c0b3d7..49e346575d 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
@@ -1612,8 +1612,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();
@@ -1821,8 +1821,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