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.
Modified: trunk/reactos/lib/comctl32/tooltips.c
Modified: trunk/reactos/lib/comctl32/treeview.c

Modified: trunk/reactos/lib/comctl32/tooltips.c
--- trunk/reactos/lib/comctl32/tooltips.c	2005-12-26 22:51:29 UTC (rev 20344)
+++ trunk/reactos/lib/comctl32/tooltips.c	2005-12-26 22:56:31 UTC (rev 20345)
@@ -2400,7 +2400,7 @@
     DWORD dwStyle = GetWindowLongW (hwnd, GWL_STYLE);
     DWORD dwExStyle = GetWindowLongW (hwnd, GWL_EXSTYLE);
 
-    dwStyle &= 0x0000FFFF;
+    dwStyle &= ~(WS_CHILD | /*WS_MAXIMIZE |*/ WS_BORDER | WS_DLGFRAME);
     dwStyle |= (WS_POPUP | WS_BORDER | WS_CLIPSIBLINGS);
 
     /* WS_BORDER only draws a border round the window rect, not the

Modified: trunk/reactos/lib/comctl32/treeview.c
--- trunk/reactos/lib/comctl32/treeview.c	2005-12-26 22:51:29 UTC (rev 20344)
+++ trunk/reactos/lib/comctl32/treeview.c	2005-12-26 22:56:31 UTC (rev 20345)
@@ -565,7 +565,7 @@
     TRACE("code:%d action:%x olditem:%p newitem:%p\n",
 	  code, action, oldItem, newItem);
 
-    ZeroMemory(&nmhdr, sizeof(NMTREEVIEWA));
+    ZeroMemory(&nmhdr, sizeof(NMTREEVIEWW));
 
     nmhdr.hdr.hwndFrom = hwnd;
     nmhdr.hdr.idFrom = GetWindowLongPtrW(hwnd, GWLP_ID);