From fcbc48183f8d8ef8690a7e26c02b12d676cfebc6 Mon Sep 17 00:00:00 2001 From: Dylan Smith Date: Fri, 18 Jun 2010 17:42:44 -0400 Subject: [PATCH] shell32: Native RegisterClassEx requires cbSize to be set. --- dlls/shell32/control.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/shell32/control.c b/dlls/shell32/control.c index aabe89ef45a..3346ddc878e 100644 --- a/dlls/shell32/control.c +++ b/dlls/shell32/control.c @@ -622,6 +622,7 @@ static void Control_DoInterface(CPanel* panel, HWND hWnd, HINSTANCE hInst) LoadStringW(shell32_hInstance, IDS_CPANEL_TITLE, appName, sizeof(appName) / sizeof(appName[0])); + wc.cbSize = sizeof(wc); wc.style = CS_HREDRAW|CS_VREDRAW; wc.lpfnWndProc = Control_WndProc; wc.cbClsExtra = 0;