Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiraj Modi2015-02-09 08:29:43 +0000
committerNiraj Modi2015-02-09 08:29:43 +0000
commit1cc0a79772aea41878e8702d10ace3833e9b29cf (patch)
tree8362229e14756e42af62577d1f907938179449ea /bundles/org.eclipse.swt/Eclipse SWT Accessibility
parent82502c8bc6b350bd484b1a1a16cd06dd9088031d (diff)
downloadeclipse.platform.swt-1cc0a79772aea41878e8702d10ace3833e9b29cf.tar.gz
eclipse.platform.swt-1cc0a79772aea41878e8702d10ace3833e9b29cf.tar.xz
eclipse.platform.swt-1cc0a79772aea41878e8702d10ace3833e9b29cf.zip
Bug 457964 -
org.eclipse.swt.accessibility.Accessible.textSelectionChanged incorrectly sends COM.EVENT_OBJECT_VALUECHANGE message Change-Id: Ia47330e9abd856a788be9735b1b88c76833a7e04 Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Accessibility')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Accessibility/win32/org/eclipse/swt/accessibility/Accessible.java6
1 files changed, 3 insertions, 3 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 9edf6285a9..6dfa664fc1 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
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2014 IBM Corporation and others.
+ * Copyright (c) 2000, 2015 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -1576,8 +1576,8 @@ public class Accessible {
public void textSelectionChanged () {
checkWidget();
if (!isATRunning ()) return;
- if (DEBUG) print(this + ".NotifyWinEvent EVENT_OBJECT_VALUECHANGE hwnd=" + control.handle + " childID=" + eventChildID());
- COM.NotifyWinEvent (COM.EVENT_OBJECT_VALUECHANGE, control.handle, COM.OBJID_CLIENT, eventChildID());
+ if (DEBUG) print(this + ".NotifyWinEvent EVENT_OBJECT_TEXTSELECTIONCHANGED hwnd=" + control.handle + " childID=" + eventChildID());
+ COM.NotifyWinEvent (COM.EVENT_OBJECT_TEXTSELECTIONCHANGED, control.handle, COM.OBJID_CLIENT, eventChildID());
}
/* QueryInterface([in] iid, [out] ppvObject)

Back to the top