Jacek Caban : mshtml: Added IHTMLDocument2::onclick property implementation .
Alexandre Julliard
julliard at winehq.org
Tue Sep 8 08:55:22 CDT 2009
Module: wine
Branch: master
Commit: c0de3b79246cc025f23166283bdc539e782e9b84
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c0de3b79246cc025f23166283bdc539e782e9b84
Author: Jacek Caban <jacek at codeweavers.com>
Date: Sun Sep 6 19:00:02 2009 +0200
mshtml: Added IHTMLDocument2::onclick property implementation.
---
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 d5b6cbe..34d5636 100644
--- a/dlls/mshtml/htmldoc.c
+++ b/dlls/mshtml/htmldoc.c
@@ -1138,15 +1138,19 @@ static HRESULT WINAPI HTMLDocument_get_onhelp(IHTMLDocument2 *iface, VARIANT *p)
static HRESULT WINAPI HTMLDocument_put_onclick(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_CLICK, &v);
}
static HRESULT WINAPI HTMLDocument_get_onclick(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_CLICK, p);
}
static HRESULT WINAPI HTMLDocument_put_ondblclick(IHTMLDocument2 *iface, VARIANT v)
More information about the wine-cvs
mailing list