wordpad: Native RegisterClassExW requires cbSize to be set.
This commit is contained in:
parent
90013af6f9
commit
d10ce5df26
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue