Module: wine Branch: master Commit: bf61a2619f79c9954e9c6ddff07679b14113dfdd URL: http://source.winehq.org/git/wine.git/?a=commit;h=bf61a2619f79c9954e9c6ddff0...
Author: Jacek Caban jacek@codeweavers.com Date: Fri Oct 10 15:48:58 2008 -0500
mshtml: Added IHTMLInputElement::select implementation.
---
dlls/mshtml/htmlinput.c | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/dlls/mshtml/htmlinput.c b/dlls/mshtml/htmlinput.c index e53f4c7..fa120d0 100644 --- a/dlls/mshtml/htmlinput.c +++ b/dlls/mshtml/htmlinput.c @@ -288,8 +288,17 @@ static HRESULT WINAPI HTMLInputElement_get_maxLength(IHTMLInputElement *iface, l static HRESULT WINAPI HTMLInputElement_select(IHTMLInputElement *iface) { HTMLInputElement *This = HTMLINPUT_THIS(iface); - FIXME("(%p)\n", This); - return E_NOTIMPL; + nsresult nsres; + + TRACE("(%p)\n", This); + + nsres = nsIDOMHTMLInputElement_Select(This->nsinput); + if(NS_FAILED(nsres)) { + ERR("Select failed: %08x\n", nsres); + return E_FAIL; + } + + return S_OK; }
static HRESULT WINAPI HTMLInputElement_put_onchange(IHTMLInputElement *iface, VARIANT v)