Dmitry Timoshkov : user32: Make sure that we send proper notifications in all cases.

Alexandre Julliard julliard at winehq.org
Mon May 12 07:12:19 CDT 2008


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

Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date:   Sat May 10 13:08:43 2008 +0900

user32: Make sure that we send proper notifications in all cases.

---

 dlls/user32/mdi.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/user32/mdi.c b/dlls/user32/mdi.c
index 60297b0..0594b55 100644
--- a/dlls/user32/mdi.c
+++ b/dlls/user32/mdi.c
@@ -570,7 +570,8 @@ static LRESULT MDIDestroyChild( HWND client, MDICLIENTINFO *ci,
                 ci->hwndChildMaximized = 0;
                 MDI_UpdateFrameText(frame, client, TRUE, NULL);
             }
-            if (flagDestroy) ci->hwndActiveChild = 0;
+            if (flagDestroy)
+                MDI_ChildActivate(client, 0);
         }
     }
 




More information about the wine-cvs mailing list