wordpad: Native RegisterClassExW requires cbSize to be set.

This commit is contained in:
Dylan Smith 2010-06-11 00:43:44 -04:00 committed by Alexandre Julliard
parent 90013af6f9
commit d10ce5df26
1 changed files with 1 additions and 0 deletions

View File

@ -2671,6 +2671,7 @@ int CALLBACK WinMain(HINSTANCE hInstance, HINSTANCE hOldInstance, LPSTR szCmdPar
hAccel = LoadAcceleratorsW(hInstance, wszAccelTable);
wc.cbSize = sizeof(wc);
wc.style = CS_HREDRAW | CS_VREDRAW;
wc.lpfnWndProc = WndProc;
wc.cbClsExtra = 0;