mirror of
https://github.com/reactos/wine.git
synced 2025-02-19 20:31:35 +00:00
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…
x
Reference in New Issue
Block a user