Changeset 4513 for trunk/src


Ignore:
Timestamp:
Oct 22, 2000, 4:54:35 PM (25 years ago)
Author:
sandervl
Message:

paint problem after resize fixed

File:
1 edited

Legend:

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

    r4463 r4513  
    1 /* $Id: pmwindow.cpp,v 1.105 2000-10-09 17:26:50 sandervl Exp $ */
     1/* $Id: pmwindow.cpp,v 1.106 2000-10-22 14:54:35 sandervl Exp $ */
    22/*
    33 * Win32 Window Managment Code for OS/2
    44 *
    5  * Copyright 1998-1999 Sander van Leeuwen (sandervl@xs4all.nl)
     5 * Copyright 1998-2000 Sander van Leeuwen (sandervl@xs4all.nl)
    66 * Copyright 1999      Daniela Engert (dani@ngrt.de)
    77 *
     
    379379        if((pswp->fl & (SWP_MOVE | SWP_SIZE)) && !(win32wnd->getStyle() & WS_MINIMIZE_W))
    380380        {
     381          //CB: todo: use result for WM_CALCVALIDRECTS
     382          //Get old client rectangle (for invalidation of frame window parts later on)
     383          mapWin32ToOS2Rect(win32wnd->getWindowHeight(), win32wnd->getClientRectPtr(), (PRECTLOS2)&rect);
     384
    381385          //Note: Also updates the new window rectangle
    382386          win32wnd->MsgFormatFrame(&wp);
    383 
    384           //CB: todo: use result for WM_CALCVALIDRECTS
    385           mapWin32ToOS2RectFrame(win32wnd, win32wnd->getClientRectPtr(), (PRECTLOS2)&rect);
    386387
    387388          if(win32wnd->CanReceiveSizeMsgs())
Note: See TracChangeset for help on using the changeset viewer.