Mercurial > projects > dwt-win
diff dwt/ole/win32/OleControlSite.d @ 212:ab60f3309436
reverted the char[] to String and use the an alias.
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 05 May 2008 00:12:38 +0200 |
parents | 07e8963537b7 |
children | fd9c62a2998e |
line wrap: on
line diff
--- a/dwt/ole/win32/OleControlSite.d Sat Apr 26 10:01:48 2008 +0200 +++ b/dwt/ole/win32/OleControlSite.d Mon May 05 00:12:38 2008 +0200 @@ -106,7 +106,7 @@ * <li>ERROR_CANNOT_CREATE_LICENSED_OBJECT when failed to create a licensed OLE Object * </ul> */ -public this(Composite parent, int style, char[] progId) { +public this(Composite parent, int style, String progId) { super(parent, style); try { @@ -279,7 +279,7 @@ * <li>ERROR_NULL_ARGUMENT when listener is null</li> * </ul> */ -public void addEventListener(OleAutomation automation, char[] eventSinkId, int eventID, OleListener listener) { +public void addEventListener(OleAutomation automation, String eventSinkId, int eventID, OleListener listener) { if (listener is null || automation is null || eventSinkId is null) OLE.error (__FILE__, __LINE__, DWT.ERROR_NULL_ARGUMENT); auto address = automation.getAddress(); if (address is null) return;