mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 12:55:43 +00:00
Sync to Wine-0_9_4:
Dmitry Timoshkov <dmitry@codeweavers.com> - comctl32: Add a test for the initial tooltip window style settings, make it pass under Wine. Eric Pouech <eric.pouech@wanadoo.fr> - comctl32: Fixed (harmless) typo. svn path=/trunk/; revision=20345
This commit is contained in:
parent
a7c00fd10a
commit
5fccaf46f0
2 changed files with 2 additions and 2 deletions
|
@ -2400,7 +2400,7 @@ TOOLTIPS_NCCreate (HWND hwnd, WPARAM wParam, LPARAM lParam)
|
||||||
DWORD dwStyle = GetWindowLongW (hwnd, GWL_STYLE);
|
DWORD dwStyle = GetWindowLongW (hwnd, GWL_STYLE);
|
||||||
DWORD dwExStyle = GetWindowLongW (hwnd, GWL_EXSTYLE);
|
DWORD dwExStyle = GetWindowLongW (hwnd, GWL_EXSTYLE);
|
||||||
|
|
||||||
dwStyle &= 0x0000FFFF;
|
dwStyle &= ~(WS_CHILD | /*WS_MAXIMIZE |*/ WS_BORDER | WS_DLGFRAME);
|
||||||
dwStyle |= (WS_POPUP | WS_BORDER | WS_CLIPSIBLINGS);
|
dwStyle |= (WS_POPUP | WS_BORDER | WS_CLIPSIBLINGS);
|
||||||
|
|
||||||
/* WS_BORDER only draws a border round the window rect, not the
|
/* WS_BORDER only draws a border round the window rect, not the
|
||||||
|
|
|
@ -565,7 +565,7 @@ TREEVIEW_SendTreeviewNotify(TREEVIEW_INFO *infoPtr, UINT code, UINT action,
|
||||||
TRACE("code:%d action:%x olditem:%p newitem:%p\n",
|
TRACE("code:%d action:%x olditem:%p newitem:%p\n",
|
||||||
code, action, oldItem, newItem);
|
code, action, oldItem, newItem);
|
||||||
|
|
||||||
ZeroMemory(&nmhdr, sizeof(NMTREEVIEWA));
|
ZeroMemory(&nmhdr, sizeof(NMTREEVIEWW));
|
||||||
|
|
||||||
nmhdr.hdr.hwndFrom = hwnd;
|
nmhdr.hdr.hwndFrom = hwnd;
|
||||||
nmhdr.hdr.idFrom = GetWindowLongPtrW(hwnd, GWLP_ID);
|
nmhdr.hdr.idFrom = GetWindowLongPtrW(hwnd, GWLP_ID);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue