Windows port: small fix in RegWndClass for x64 builds.

This commit is contained in:
luigi__ 2009-09-05 20:06:11 +00:00
parent 998787e921
commit b3caff23d2
1 changed files with 1 additions and 1 deletions

View File

@ -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)