Commit ce2f142b authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

shdocvw: Use IOleInPlaceObjectWindowless interface of document in deactivate_document.

parent e189b546
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment