Windows port: small fix in RegWndClass for x64 builds.
This commit is contained in:
parent
998787e921
commit
b3caff23d2
|
@ -75,7 +75,7 @@ bool RegWndClass(string name, WNDPROC wndProc, UINT style, HICON icon, int extra
|
|||
wc.hbrBackground = GetSysColorBrush(COLOR_BTNFACE);
|
||||
wc.style = style;
|
||||
wc.cbClsExtra = 0;
|
||||
wc.cbWndExtra = 8 + extraSize;
|
||||
wc.cbWndExtra = DWLP_USER + extraSize;
|
||||
wc.hIconSm = 0;
|
||||
|
||||
if (RegisterClassEx(&wc) != 0)
|
||||
|
|
Loading…
Reference in New Issue