Dylan Smith : shell32: Native RegisterClassEx requires cbSize to be set.

Alexandre Julliard julliard at winehq.org
Mon Jun 21 11:07:00 CDT 2010


Module: wine
Branch: master
Commit: fcbc48183f8d8ef8690a7e26c02b12d676cfebc6
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=fcbc48183f8d8ef8690a7e26c02b12d676cfebc6

Author: Dylan Smith <dylan.ah.smith at gmail.com>
Date:   Fri Jun 18 17:42:44 2010 -0400

shell32: Native RegisterClassEx requires cbSize to be set.

---

 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;




More information about the wine-cvs mailing list