Replace wParam values for WM_PARENTNOTIFY message by appropriate symbolic names

Dmitry Timoshkov dmitry at baikal.ru
Thu Apr 29 22:20:04 CDT 2004


Hello,

Changelog:
    Dmitry Timoshkov <dmitry at codeweavers.com>
    Replace wParam values for WM_PARENTNOTIFY message by appropriate
    symbolic names.

--- cvs/hq/wine/dlls/user/tests/msg.c	Fri Apr 30 00:02:20 2004
+++ wine/dlls/user/tests/msg.c	Fri Apr 30 03:15:03 2004
@@ -162,7 +162,7 @@ static const struct message WmCreateChil
     { WM_CREATE, sent },
     { WM_SIZE, sent },
     { WM_MOVE, sent },
-    { WM_PARENTNOTIFY, sent|parent|wparam, 1 },
+    { WM_PARENTNOTIFY, sent|parent|wparam, WM_CREATE },
     { 0 }
 };
 /* CreateWindow (for maximized child window, not initially visible) */
@@ -179,7 +179,7 @@ static const struct message WmCreateMaxi
     { WM_NCCALCSIZE, sent },
     { WM_WINDOWPOSCHANGED, sent },
     { WM_SIZE, sent|defwinproc },
-    { WM_PARENTNOTIFY, sent|parent|wparam, 1 },
+    { WM_PARENTNOTIFY, sent|parent|wparam, WM_CREATE },
     { 0 }
 };
 /* ShowWindow (for child window) */
@@ -193,7 +193,7 @@ static const struct message WmShowChildS
 /* DestroyWindow (for child window) */
 static const struct message WmDestroyChildSeq[] = {
     { HCBT_DESTROYWND, hook },
-    { WM_PARENTNOTIFY, sent|parent|wparam, 2 },
+    { WM_PARENTNOTIFY, sent|parent|wparam, WM_DESTROY },
     { WM_SHOWWINDOW, sent|wparam, 0 },
     { WM_WINDOWPOSCHANGING, sent|wparam, 0 },
     { WM_ERASEBKGND, sent|parent|optional },






More information about the wine-patches mailing list