Commit 26f6a30f authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

shdocvw: Set active document of both frame and doc window.

parent ce2f142b
......@@ -298,7 +298,10 @@ static HRESULT WINAPI OleObject_DoVerb(IOleObject *iface, LONG iVerb, struct tag
IOleInPlaceSite_OnUIActivate(inplace);
IOleInPlaceSite_Release(inplace);
IOleInPlaceFrame_SetActiveObject(This->frame, ACTIVEOBJ(This), wszitem);
if(This->frame)
IOleInPlaceFrame_SetActiveObject(This->frame, ACTIVEOBJ(This), wszitem);
if(This->uiwindow)
IOleInPlaceUIWindow_SetActiveObject(This->uiwindow, ACTIVEOBJ(This), wszitem);
/* TODO:
* IOleInPlaceFrmae_SetMenu
......
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