Ignore:
Timestamp:
May 3, 2001, 7:51:01 PM (24 years ago)
Author:
sandervl
Message:

YD: SendNCCalcSize bugfix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/win32wbase.cpp

    r5606 r5646  
    1 /* $Id: win32wbase.cpp,v 1.253 2001-04-27 17:36:38 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.254 2001-05-03 17:51:01 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    11601160{
    11611161  RECT oldWindowRect = rectWindow, client = rectClient, newWindowRect;
     1162  RECT newClientRect;
    11621163  WINDOWPOS wndPos;
    11631164  ULONG rc;
     
    11821183  }
    11831184
    1184   rc = SendNCCalcSize(TRUE, &newWindowRect,  &oldWindowRect, &client, lpWndPos, &rectClient);
     1185  newClientRect = rectClient;
     1186  rc = SendNCCalcSize(TRUE, &newWindowRect,  &oldWindowRect, &client, lpWndPos, &newClientRect);
     1187  rectClient = newClientRect; //must update rectClient here
    11851188
    11861189  dprintf(("MsgFormatFrame: old client rect (%d,%d)(%d,%d), new client (%d,%d)(%d,%d)", client.left, client.top, client.right, client.bottom, rectClient.left, rectClient.top, rectClient.right, rectClient.bottom));
Note: See TracChangeset for help on using the changeset viewer.