Jacek Caban : mshtml: Added HTMLInputElement::onchange implementation.
Alexandre Julliard
julliard at winehq.org
Fri Jul 13 14:11:19 CDT 2012
Module: wine
Branch: master
Commit: 9caf3431cdc73cf69f967dcc45757f389a34e065
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9caf3431cdc73cf69f967dcc45757f389a34e065
Author: Jacek Caban <jacek at codeweavers.com>
Date: Fri Jul 13 14:45:19 2012 +0200
mshtml: Added HTMLInputElement::onchange implementation.
---
dlls/mshtml/htmlinput.c | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/dlls/mshtml/htmlinput.c b/dlls/mshtml/htmlinput.c
index 27b1b47..f4f513c 100644
--- a/dlls/mshtml/htmlinput.c
+++ b/dlls/mshtml/htmlinput.c
@@ -303,15 +303,19 @@ static HRESULT WINAPI HTMLInputElement_select(IHTMLInputElement *iface)
static HRESULT WINAPI HTMLInputElement_put_onchange(IHTMLInputElement *iface, VARIANT v)
{
HTMLInputElement *This = impl_from_IHTMLInputElement(iface);
- FIXME("(%p)->()\n", This);
- return E_NOTIMPL;
+
+ TRACE("(%p)->()\n", This);
+
+ return set_node_event(&This->element.node, EVENTID_CHANGE, &v);
}
static HRESULT WINAPI HTMLInputElement_get_onchange(IHTMLInputElement *iface, VARIANT *p)
{
HTMLInputElement *This = impl_from_IHTMLInputElement(iface);
- FIXME("(%p)->(%p)\n", This, p);
- return E_NOTIMPL;
+
+ TRACE("(%p)->(%p)\n", This, p);
+
+ return get_node_event(&This->element.node, EVENTID_CHANGE, p);
}
static HRESULT WINAPI HTMLInputElement_put_onselect(IHTMLInputElement *iface, VARIANT v)
More information about the wine-cvs
mailing list