wordpad: Pass correct parameters to WM_SIZE message handler.

This commit is contained in:
Dmitry Timoshkov 2008-06-27 19:05:44 +09:00 committed by Alexandre Julliard
parent 3a934e7323
commit da88293338
1 changed files with 2 additions and 2 deletions

View File

@ -595,9 +595,9 @@ static void update_window(void)
{
RECT rect;
GetWindowRect(hMainWnd, &rect);
GetClientRect(hMainWnd, &rect);
(void) OnSize(hMainWnd, SIZE_RESTORED, MAKELONG(rect.bottom, rect.right));
OnSize(hMainWnd, SIZE_RESTORED, MAKELPARAM(rect.right, rect.bottom));
}
static BOOL is_bar_visible(int bandId)