shdocvw: Use IOleInPlaceObjectWindowless interface of document in deactivate_document.

This commit is contained in:
Jacek Caban 2006-04-08 20:10:10 +02:00 committed by Alexandre Julliard
parent e189b54687
commit ce2f142bf1
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ void deactivate_document(WebBrowser *This)
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);