shdocvw: Use IOleInPlaceObjectWindowless interface of document in deactivate_document.
This commit is contained in:
parent
e189b54687
commit
ce2f142bf1
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue