Commit 113fc682 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Forward IHTMLEventObj::toElement and fromElement implementation to IDOMMouseEvent.

parent beb0b78a
...@@ -511,7 +511,10 @@ static HRESULT WINAPI HTMLEventObj_get_fromElement(IHTMLEventObj *iface, IHTMLEl ...@@ -511,7 +511,10 @@ static HRESULT WINAPI HTMLEventObj_get_fromElement(IHTMLEventObj *iface, IHTMLEl
{ {
HTMLEventObj *This = impl_from_IHTMLEventObj(iface); HTMLEventObj *This = impl_from_IHTMLEventObj(iface);
FIXME("(%p)->(%p)\n", This, p); TRACE("(%p)->(%p)\n", This, p);
if(This->event && This->event->mouse_event)
return IDOMMouseEvent_get_fromElement(&This->event->IDOMMouseEvent_iface, p);
*p = NULL; *p = NULL;
return S_OK; return S_OK;
...@@ -521,7 +524,10 @@ static HRESULT WINAPI HTMLEventObj_get_toElement(IHTMLEventObj *iface, IHTMLElem ...@@ -521,7 +524,10 @@ static HRESULT WINAPI HTMLEventObj_get_toElement(IHTMLEventObj *iface, IHTMLElem
{ {
HTMLEventObj *This = impl_from_IHTMLEventObj(iface); HTMLEventObj *This = impl_from_IHTMLEventObj(iface);
FIXME("(%p)->(%p)\n", This, p); TRACE("(%p)->(%p)\n", This, p);
if(This->event && This->event->mouse_event)
return IDOMMouseEvent_get_toElement(&This->event->IDOMMouseEvent_iface, p);
*p = NULL; *p = NULL;
return S_OK; return S_OK;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment