Alistair Leslie-Hughes : mshtml: Implement IHTMLDocument2 get/put onmouseup .

Alexandre Julliard julliard at winehq.org
Wed Dec 23 10:04:13 CST 2009


Module: wine
Branch: master
Commit: a1f275448ff9c75e3c84dfc7ad5bc33a11d08514
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a1f275448ff9c75e3c84dfc7ad5bc33a11d08514

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Wed Dec 23 09:15:20 2009 +1100

mshtml: Implement IHTMLDocument2 get/put onmouseup.

---

 dlls/mshtml/htmldoc.c |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/dlls/mshtml/htmldoc.c b/dlls/mshtml/htmldoc.c
index 84f6cc8..7a7b343 100644
--- a/dlls/mshtml/htmldoc.c
+++ b/dlls/mshtml/htmldoc.c
@@ -1072,15 +1072,19 @@ static HRESULT WINAPI HTMLDocument_get_onkeypress(IHTMLDocument2 *iface, VARIANT
 static HRESULT WINAPI HTMLDocument_put_onmouseup(IHTMLDocument2 *iface, VARIANT v)
 {
     HTMLDocument *This = HTMLDOC_THIS(iface);
-    FIXME("(%p)\n", This);
-    return E_NOTIMPL;
+
+    TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
+
+    return set_doc_event(This, EVENTID_MOUSEUP, &v);
 }
 
 static HRESULT WINAPI HTMLDocument_get_onmouseup(IHTMLDocument2 *iface, VARIANT *p)
 {
     HTMLDocument *This = HTMLDOC_THIS(iface);
-    FIXME("(%p)->(%p)\n", This, p);
-    return E_NOTIMPL;
+
+    TRACE("(%p)->(%p)\n", This, p);
+
+    return get_doc_event(This, EVENTID_MOUSEUP, p);
 }
 
 static HRESULT WINAPI HTMLDocument_put_onmousedown(IHTMLDocument2 *iface, VARIANT v)




More information about the wine-cvs mailing list