shell32: Native RegisterClassEx requires cbSize to be set.

This commit is contained in:
Dylan Smith 2010-06-18 17:42:44 -04:00 committed by Alexandre Julliard
parent 8a2cb8fe21
commit fcbc48183f
1 changed files with 1 additions and 0 deletions

View File

@ -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])); LoadStringW(shell32_hInstance, IDS_CPANEL_TITLE, appName, sizeof(appName) / sizeof(appName[0]));
wc.cbSize = sizeof(wc);
wc.style = CS_HREDRAW|CS_VREDRAW; wc.style = CS_HREDRAW|CS_VREDRAW;
wc.lpfnWndProc = Control_WndProc; wc.lpfnWndProc = Control_WndProc;
wc.cbClsExtra = 0; wc.cbClsExtra = 0;