comctl32: header[2/2]: call DefWindowProcW not DefWindowProcA

Mikołaj Zalewski mikolaj at zalewski.pl
Wed Oct 11 13:56:47 CDT 2006


The header is registered with RegisterClassW so if I understand 
correctly calling DefWindowProcA is a bug.
-------------- next part --------------
diff --git a/dlls/comctl32/header.c b/dlls/comctl32/header.c
index 681b700..9b94a58 100644
--- a/dlls/comctl32/header.c
+++ b/dlls/comctl32/header.c
@@ -2100,7 +2100,7 @@ HEADER_WindowProc (HWND hwnd, UINT msg, 
             if ((msg >= WM_USER) && (msg < WM_APP))
 		ERR("unknown msg %04x wp=%04x lp=%08lx\n",
 		     msg, wParam, lParam );
-	    return DefWindowProcA (hwnd, msg, wParam, lParam);
+	    return DefWindowProcW(hwnd, msg, wParam, lParam);
     }
 }
 
-- 
1.4.2.3


More information about the wine-patches mailing list