Module: wine Branch: master Commit: c51b1e6db67c4c89fb922a79fdc00bc2f3f19154 URL: http://source.winehq.org/git/wine.git/?a=commit;h=c51b1e6db67c4c89fb922a79fd...
Author: Dylan Smith dylan.ah.smith@gmail.com Date: Tue Jul 20 17:54:15 2010 -0400
user32: DefMDIChildProc sends WM_MDINEXT with active child handle.
---
dlls/user32/mdi.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/user32/mdi.c b/dlls/user32/mdi.c index 631d477..d382eb7 100644 --- a/dlls/user32/mdi.c +++ b/dlls/user32/mdi.c @@ -1494,10 +1494,10 @@ LRESULT WINAPI DefMDIChildProcW( HWND hwnd, UINT message, return SendMessageW( GetParent(client), message, wParam, lParam); break; case SC_NEXTWINDOW: - SendMessageW( client, WM_MDINEXT, 0, 0); + SendMessageW( client, WM_MDINEXT, (WPARAM)ci->hwndActiveChild, 0); return 0; case SC_PREVWINDOW: - SendMessageW( client, WM_MDINEXT, 0, 1); + SendMessageW( client, WM_MDINEXT, (WPARAM)ci->hwndActiveChild, 1); return 0; } break;