diff options
author | Carolyn MacLeod <carolyn> | 2007-09-28 16:54:41 +0000 |
---|---|---|
committer | Carolyn MacLeod <carolyn> | 2007-09-28 16:54:41 +0000 |
commit | 6b4d1940c546de22bef2d460acbd22f545cffe16 (patch) | |
tree | 450fba8c308539a1248904c9f93c567e71f7e38a /bundles/org.eclipse.swt/Eclipse SWT Accessibility/carbon/org/eclipse/swt/accessibility/Accessible.java | |
parent | 90d9f266414c1c09debd46aa49f9d3d0ba8d29e9 (diff) | |
download | eclipse.platform.swt-6b4d1940c546de22bef2d460acbd22f545cffe16.tar.gz eclipse.platform.swt-6b4d1940c546de22bef2d460acbd22f545cffe16.tar.xz eclipse.platform.swt-6b4d1940c546de22bef2d460acbd22f545cffe16.zip |
get correct proxy position and size values
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Accessibility/carbon/org/eclipse/swt/accessibility/Accessible.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT Accessibility/carbon/org/eclipse/swt/accessibility/Accessible.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Accessibility/carbon/org/eclipse/swt/accessibility/Accessible.java b/bundles/org.eclipse.swt/Eclipse SWT Accessibility/carbon/org/eclipse/swt/accessibility/Accessible.java index 0c64383a82..042e3f88ce 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Accessibility/carbon/org/eclipse/swt/accessibility/Accessible.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Accessibility/carbon/org/eclipse/swt/accessibility/Accessible.java @@ -710,7 +710,7 @@ public class Accessible { int code = OS.CallNextEventHandler (nextHandler, theEvent); CGPoint osPositionAttribute = new CGPoint (); if (code == OS.noErr) { - OS.GetEventParameter (theEvent, OS.kEventParamMouseLocation, OS.typeHIPoint, null, CGPoint.sizeof, null, osPositionAttribute); + OS.GetEventParameter (theEvent, OS.kEventParamAccessibleAttributeValue, OS.typeHIPoint, null, CGPoint.sizeof, null, osPositionAttribute); } AccessibleControlEvent event = new AccessibleControlEvent(this); event.childID = getChildIDFromEvent(theEvent); @@ -730,7 +730,7 @@ public class Accessible { int code = OS.CallNextEventHandler (nextHandler, theEvent); CGPoint osSizeAttribute = new CGPoint (); if (code == OS.noErr) { - OS.GetEventParameter (theEvent, OS.kEventParamMouseLocation, OS.typeHISize, null, CGPoint.sizeof, null, osSizeAttribute); + OS.GetEventParameter (theEvent, OS.kEventParamAccessibleAttributeValue, OS.typeHISize, null, CGPoint.sizeof, null, osSizeAttribute); } AccessibleControlEvent event = new AccessibleControlEvent(this); event.childID = getChildIDFromEvent(theEvent); |