Jacek Caban : mshtml: Added IHTMLDocument2:: ondblclick property implementation.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Feb 4 10:51:16 CST 2015


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Tue Feb  3 16:19:55 2015 +0100

mshtml: Added IHTMLDocument2::ondblclick property implementation.

---

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

diff --git a/dlls/mshtml/htmldoc.c b/dlls/mshtml/htmldoc.c
index 907e2bd..79dc5c1 100644
--- a/dlls/mshtml/htmldoc.c
+++ b/dlls/mshtml/htmldoc.c
@@ -1320,15 +1320,19 @@ static HRESULT WINAPI HTMLDocument_get_onclick(IHTMLDocument2 *iface, VARIANT *p
 static HRESULT WINAPI HTMLDocument_put_ondblclick(IHTMLDocument2 *iface, VARIANT v)
 {
     HTMLDocument *This = impl_from_IHTMLDocument2(iface);
-    FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
-    return E_NOTIMPL;
+
+    TRACE("(%p)->(%s)\n", This, debugstr_variant(&v));
+
+    return set_doc_event(This, EVENTID_DBLCLICK, &v);
 }
 
 static HRESULT WINAPI HTMLDocument_get_ondblclick(IHTMLDocument2 *iface, VARIANT *p)
 {
     HTMLDocument *This = impl_from_IHTMLDocument2(iface);
-    FIXME("(%p)->(%p)\n", This, p);
-    return E_NOTIMPL;
+
+    TRACE("(%p)->(%p)\n", This, p);
+
+    return get_doc_event(This, EVENTID_DBLCLICK, p);
 }
 
 static HRESULT WINAPI HTMLDocument_put_onkeyup(IHTMLDocument2 *iface, VARIANT v)




More information about the wine-cvs mailing list