[PATCH] DestroyWindow16 (Resend)
Gerard Patel
gerard.patel at nerim.net
Thu Sep 13 20:31:46 CDT 2001
DestroyWindow still crashes ForteFreeAgent 16 bits (Wine fails to identify
the deleted window among the siblings when deleting owned windows)
ChangeLog:
* windows/win.c
Switch to a 32 bits window handle in DestroyWindow16
-------------- next part --------------
Index: windows/win.c
===================================================================
RCS file: /home/wine/wine/windows/win.c,v
retrieving revision 1.150
diff -u -r1.150 win.c
--- windows/win.c 2001/09/12 17:19:13 1.150
+++ windows/win.c 2001/09/13 22:11:51
@@ -1192,6 +1192,7 @@
if( HOOK_CallHooksA( WH_CBT, HCBT_DESTROYWND, hwnd, 0L) ) return FALSE;
if (!(wndPtr = WIN_FindWndPtr( hwnd ))) return FALSE;
+ hwnd = wndPtr->hwndSelf;
if (!(wndPtr->dwStyle & WS_CHILD) && !wndPtr->owner)
{
HOOK_CallHooksA( WH_SHELL, HSHELL_WINDOWDESTROYED, hwnd, 0L );
-------------- next part --------------
More information about the wine-patches
mailing list