ieframe: IOleObject::Close() should notify OnClose() advise sink.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru> Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c08a89fc75
commit
d4ba3d866d
|
@ -610,6 +610,10 @@ static HRESULT WINAPI OleObject_Close(IOleObject *iface, DWORD dwSaveOption)
|
|||
IOleClientSite_AddRef(This->client);
|
||||
hres = IOleObject_SetClientSite(iface, NULL);
|
||||
This->client_closed = client;
|
||||
|
||||
if(This->advise_holder)
|
||||
IOleAdviseHolder_SendOnClose(This->advise_holder);
|
||||
|
||||
return hres;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue