[PATCH 12/14] user32: Send the EVENT_OBJECT_CREATE notice from
user32's CreateWindow
Pierre d'Herbemont
pdherbemont at free.fr
Sun Jan 21 17:37:17 CST 2007
---
dlls/user32/win.c | 2 ++
dlls/winex11.drv/window.c | 2 --
2 files changed, 2 insertions(+), 2 deletions(-)
-------------- next part --------------
diff --git a/dlls/user32/win.c b/dlls/user32/win.c
index c453253..37e93a2 100644
--- a/dlls/user32/win.c
+++ b/dlls/user32/win.c
@@ -1182,6 +1182,8 @@ static HWND WIN_CreateWindowEx( CREATEST
if (!ret) goto failed;
+ NotifyWinEvent(EVENT_OBJECT_CREATE, hwnd, OBJID_WINDOW, 0);
+
if (!(wndPtr = WIN_GetPtr(hwnd))) goto failed;
client_rect = wndPtr->rectClient;
diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c
index d7f2088..3abdf53 100644
--- a/dlls/winex11.drv/window.c
+++ b/dlls/winex11.drv/window.c
@@ -1037,8 +1037,6 @@ BOOL X11DRV_CreateWindow( HWND hwnd, CRE
data->client_rect.right, data->client_rect.bottom,
(unsigned int)data->whole_window );
- NotifyWinEvent(EVENT_OBJECT_CREATE, hwnd, OBJID_WINDOW, 0);
-
/* Send the size messages */
if (!(wndPtr = WIN_GetPtr(hwnd)) || wndPtr == WND_OTHER_PROCESS) return FALSE;
More information about the wine-patches
mailing list