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/dc.cpp

    r8800 r9933  
    1 /* $Id: dc.cpp,v 1.117 2002-06-28 19:45:00 sandervl Exp $ */
     1/* $Id: dc.cpp,v 1.118 2003-03-22 20:27:10 sandervl Exp $ */
    22
    33/*
     
    679679    bIcon = IsIconic(hwnd);
    680680
     681    //check if the application previously didn't handle a WM_PAINT msg properly
     682    wnd->checkForDirtyUpdateRegion();
     683
    681684    HWND hwndClient = (bIcon) ? wnd->getOS2FrameWindowHandle() : wnd->getOS2WindowHandle();
    682685
     
    12071210        else hwnd = wnd->getOS2WindowHandle();
    12081211    }
     1212
     1213    //check if the application previously didn't handle a WM_PAINT msg properly
     1214    wnd->checkForDirtyUpdateRegion();
    12091215
    12101216    BOOL  IncludeChildren = (redraw & RDW_ALLCHILDREN_W) ? TRUE : FALSE;
     
    13831389    }
    13841390
     1391    //check if the application previously didn't handle a WM_PAINT msg properly
     1392    wnd->checkForDirtyUpdateRegion();
     1393
    13851394#ifdef DEBUG
    13861395    if(WinQueryUpdateRect(wnd->getOS2WindowHandle(), &rectl))
Note: See TracChangeset for help on using the changeset viewer.