mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 14:24:45 +00:00
shdocvw: Fix windows style of windows without parents.
This commit is contained in:
parent
cc7a86ec7e
commit
6e63a9e5f5
1 changed files with 4 additions and 1 deletions
|
@ -95,9 +95,12 @@ static void create_shell_embedding_hwnd(WebBrowser *This)
|
|||
This->doc_host.frame_hwnd = This->shell_embedding_hwnd = CreateWindowExW(
|
||||
WS_EX_WINDOWEDGE,
|
||||
wszShellEmbedding, wszShellEmbedding,
|
||||
WS_CHILD | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_TABSTOP,
|
||||
WS_CLIPSIBLINGS | WS_CLIPCHILDREN
|
||||
| (parent ? WS_CHILD | WS_TABSTOP : WS_POPUP | WS_MAXIMIZEBOX),
|
||||
0, 0, 0, 0, parent,
|
||||
NULL, shdocvw_hinstance, This);
|
||||
|
||||
TRACE("parent=%p hwnd=%p\n", parent, This->shell_embedding_hwnd);
|
||||
}
|
||||
|
||||
static HRESULT activate_inplace(WebBrowser *This, IOleClientSite *active_site, HWND parent_hwnd)
|
||||
|
|
Loading…
Reference in a new issue