Ignore:
Timestamp:
Mar 22, 2003, 9:27:12 PM (22 years ago)
Author:
sandervl
Message:

Changes for applications that don't validate the update region of a window during WM_PAINT

File:
1 edited

Legend:

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

    r6902 r9933  
    1 /* $Id: dcrgn.cpp,v 1.7 2001-09-30 22:24:41 sandervl Exp $ */
     1/* $Id: dcrgn.cpp,v 1.8 2003-03-22 20:27:11 sandervl Exp $ */
    22
    33/*
     
    6565    dprintf(("GetUpdateRect %x %x %d", hwnd, pRect, erase));
    6666
     67    //check if the application previously didn't handle a WM_PAINT msg properly
     68    wnd->checkForDirtyUpdateRegion();
     69
    6770    BOOL updateRegionExists = WinQueryUpdateRect(wnd->getOS2WindowHandle(), pRect ? &rectl : NULL);
    6871    if (!pRect) {
     
    118121        return ERROR_W;
    119122    }
     123    //check if the application previously didn't handle a WM_PAINT msg properly
     124    wnd->checkForDirtyUpdateRegion();
     125
    120126    lComplexity = WinQueryUpdateRegion(wnd->getOS2WindowHandle(), hrgn);
    121127    if(lComplexity == RGN_ERROR) {
Note: See TracChangeset for help on using the changeset viewer.