Commit 51bd5408 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

shdocvw: Use GetClientRect, not GetWindowRect in create_doc_view_hwnd.

parent 6d2afbcf
......@@ -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,
......
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