winemine: Native RegisterClassEx requires cbSize to be set.
This commit is contained in:
parent
3d73c466ca
commit
8a2cb8fe21
|
@ -1015,6 +1015,7 @@ int WINAPI WinMain( HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR cmdline, int cmd
|
|||
|
||||
LoadString( hInst, IDS_APPNAME, appname, sizeof(appname));
|
||||
|
||||
wc.cbSize = sizeof(wc);
|
||||
wc.style = 0;
|
||||
wc.lpfnWndProc = MainProc;
|
||||
wc.cbClsExtra = 0;
|
||||
|
|
Loading…
Reference in New Issue