Module: wine Branch: master Commit: f31391c77702a234efb39bc45997775d66357b1b URL: http://source.winehq.org/git/wine.git/?a=commit;h=f31391c77702a234efb39bc459...
Author: Jacek Caban jacek@codeweavers.com Date: Fri Jan 6 12:59:32 2012 +0100
ieframe: Always create doc view window when creating InternetExplore object instance.
---
dlls/ieframe/iexplore.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/ieframe/iexplore.c b/dlls/ieframe/iexplore.c index 8dd6287..cbab8f5 100644 --- a/dlls/ieframe/iexplore.c +++ b/dlls/ieframe/iexplore.c @@ -698,6 +698,9 @@ static void create_frame_hwnd(InternetExplorer *This) | WS_MINIMIZEBOX | WS_MAXIMIZEBOX, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, NULL, NULL /* FIXME */, ieframe_instance, This); + + This->doc_host->doc_host.frame_hwnd = This->frame_hwnd; + create_doc_view_hwnd(&This->doc_host->doc_host); }
static inline IEDocHost *impl_from_DocHost(DocHost *iface) @@ -793,7 +796,6 @@ static HRESULT create_ie(InternetExplorer **ret_obj) HlinkFrame_Init(&ret->hlink_frame, (IUnknown*)&ret->IWebBrowser2_iface, &ret->doc_host->doc_host);
create_frame_hwnd(ret); - ret->doc_host->doc_host.frame_hwnd = ret->frame_hwnd;
InterlockedIncrement(&obj_cnt); list_add_tail(&ie_list, &ret->entry);