Jacek Caban : shdocvw: Use IOleInPlaceObjectWindowless interface of document in deactivate_document .
Module: wine Branch: refs/heads/master Commit: ce2f142bf14afdf4fa241e7db1272492983cf186 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=ce2f142bf14afdf4fa241e7d... Author: Jacek Caban <jacek(a)codeweavers.com> Date: Sat Apr 8 20:10:10 2006 +0200 shdocvw: Use IOleInPlaceObjectWindowless interface of document in deactivate_document. --- dlls/shdocvw/dochost.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/shdocvw/dochost.c b/dlls/shdocvw/dochost.c index 07c9522..01f7a88 100644 --- a/dlls/shdocvw/dochost.c +++ b/dlls/shdocvw/dochost.c @@ -164,7 +164,7 @@ void deactivate_document(WebBrowser *Thi if(This->view) IOleDocumentView_UIActivate(This->view, FALSE); - hres = IUnknown_QueryInterface(This->client, &IID_IOleInPlaceObjectWindowless, + hres = IUnknown_QueryInterface(This->document, &IID_IOleInPlaceObjectWindowless, (void**)&winobj); if(SUCCEEDED(hres)) { IOleInPlaceObjectWindowless_InPlaceDeactivate(winobj);
participants (1)
-
Alexandre Julliard