Changeset 10479 for trunk/src


Ignore:
Timestamp:
Feb 23, 2004, 1:40:29 PM (22 years ago)
Author:
sandervl
Message:

Edit: wrong ScrollWindowEx call; must include SW_ERASE

Location:
trunk/src/user32
Files:
2 edited

Legend:

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

    r10477 r10479  
    1 /* $Id: dc.cpp,v 1.126 2004-02-23 12:03:05 sandervl Exp $ */
     1/* $Id: dc.cpp,v 1.127 2004-02-23 12:40:29 sandervl Exp $ */
    22
    33/*
     
    16601660    }
    16611661
     1662    // If the background is to be erased, then make it so
     1663    if ((scrollFlag & SW_ERASE_W))
     1664    {
     1665        dprintf(("Set erase background flag to TRUE"));
     1666        window->setEraseBkgnd(TRUE);
     1667    }
     1668
    16621669#if 0
    16631670    //SvL: WinScrollWindow already invalidates the area; no need to do it again
  • trunk/src/user32/edit.c

    r10463 r10479  
    31523152        IntersectRect(&rc, &rc1, &es->format_rect);
    31533153        ScrollWindowEx(hwnd, -dx, dy,
     3154#ifdef __WIN32OS2__
     3155                NULL, &rc, (HRGN)NULL, NULL, SW_INVALIDATE|SW_ERASE);
     3156#else
    31543157                NULL, &rc, (HRGN)NULL, NULL, SW_INVALIDATE);
     3158#endif
    31553159        /* force scroll info update */
    31563160        EDIT_UpdateScrollInfo(hwnd, es);
Note: See TracChangeset for help on using the changeset viewer.