Mercurial > projects > dwt-linux
diff dwt/accessibility/AccessibleObject.d @ 158:de2578a843a7
Tango update to rev 3158, TracedException>Exception, fromUtf8z>fromStringz,Fix Bug in MenuItem Thanx to nascent for the report.
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 10 Feb 2008 04:19:19 +0100 |
parents | 62a654ba5276 |
children | e0ffca35fe59 |
line wrap: on
line diff
--- a/dwt/accessibility/AccessibleObject.d Sat Feb 09 21:22:47 2008 +0100 +++ b/dwt/accessibility/AccessibleObject.d Sun Feb 10 04:19:19 2008 +0100 @@ -101,7 +101,7 @@ AccessibleEvent event = new AccessibleEvent (object); event.childID = object.id; if (parentResult !is null) { - char[] res = fromUtf8z( parentResult ); + char[] res = fromStringz( parentResult ); event.result = res.dup; } for (int i = 0; i < listeners.length; i++) { @@ -133,7 +133,7 @@ AccessibleControlEvent event = new AccessibleControlEvent (object); event.childID = object.id; if (parentResult !is null) { - char[] res = fromUtf8z( parentResult ); + char[] res = fromStringz( parentResult ); event.result = res.dup; } for (int i = 0; i < listeners.length; i++) { @@ -359,7 +359,7 @@ AccessibleEvent event = new AccessibleEvent (object); event.childID = object.id; if (parentResult !is null) { - event.result = fromUtf8z( parentResult ).dup; + event.result = fromStringz( parentResult ).dup; } for (int i = 0; i < listeners.length; i++) { listeners [i].getDescription (event); @@ -387,7 +387,7 @@ AccessibleEvent event = new AccessibleEvent (object); event.childID = object.id; if (parentResult !is null) { - event.result = fromUtf8z( parentResult ).dup; + event.result = fromStringz( parentResult ).dup; } for (int i = 0; i < listeners.length; i++) { listeners [i].getName (event); @@ -1204,7 +1204,7 @@ if (characterCount > 0 && textIface.get_text !is null) { parentResult = textIface.get_text( handle, 0, characterCount); if (parentResult !is null) { - parentText = fromUtf8z( parentResult ).dup; + parentText = fromStringz( parentResult ).dup; } } }