shell32: Native RegisterClassEx requires cbSize to be set.
Dylan Smith
dylan.ah.smith at gmail.com
Fri Jun 18 16:42:44 CDT 2010
---
dlls/shell32/control.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/shell32/control.c b/dlls/shell32/control.c
index aabe89e..3346ddc 100644
--- a/dlls/shell32/control.c
+++ b/dlls/shell32/control.c
@@ -622,6 +622,7 @@ static void Control_DoInterface(CPanel* panel, HWND hWnd, HINSTANCE hInst)
LoadStringW(shell32_hInstance, IDS_CPANEL_TITLE, appName, sizeof(appName) / sizeof(appName[0]));
+ wc.cbSize = sizeof(wc);
wc.style = CS_HREDRAW|CS_VREDRAW;
wc.lpfnWndProc = Control_WndProc;
wc.cbClsExtra = 0;
--
1.7.0.4
More information about the wine-patches
mailing list