shdocvw: Use GetClientRect, not GetWindowRect in create_doc_view_hwnd.
This commit is contained in:
parent
6d2afbcf7a
commit
51bd5408d4
|
@ -146,7 +146,7 @@ void create_doc_view_hwnd(WebBrowser *This)
|
|||
doc_view_atom = RegisterClassExW(&wndclass);
|
||||
}
|
||||
|
||||
GetWindowRect(This->shell_embedding_hwnd, &rect);
|
||||
GetClientRect(This->shell_embedding_hwnd, &rect);
|
||||
This->doc_view_hwnd = CreateWindowExW(0, wszShell_DocObject_View,
|
||||
wszShell_DocObject_View,
|
||||
WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_TABSTOP | WS_MAXIMIZEBOX,
|
||||
|
|
Loading…
Reference in New Issue