Ignore:
Timestamp:
Aug 23, 1999, 5:34:47 PM (26 years ago)
Author:
dengert
Message:

WM_ERASEBKGND sent from BeginPaint now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/new/wingdi.cpp

    r392 r650  
    1 /* $Id: wingdi.cpp,v 1.8 1999-07-25 15:51:57 sandervl Exp $ */
     1/* $Id: wingdi.cpp,v 1.9 1999-08-23 15:34:47 dengert Exp $ */
    22/*
    33 * Win32 Window graphics apis for OS/2
     
    2929    window = Win32Window::GetWindowFromHandle(hwnd);
    3030    if(!window) {
    31         dprintf(("GetDC, window %x not found", hwnd));
    32         return 0;
     31        dprintf(("GetDC, window %x not found", hwnd));
     32        return 0;
    3333    }
    3434#ifdef OPEN32_GDI
     
    4040#endif
    4141    dprintf(("BeginPaint %X returned %x\n", hwnd, hdc));
     42
     43    lps->fErase = !window->MsgEraseBackGround(hdc);
    4244    return hdc;
    4345
     
    6567   window = Win32Window::GetWindowFromHandle(hwnd);
    6668   if(!window) {
    67         dprintf(("GetDC, window %x not found", hwnd));
     69        dprintf(("GetDC, window %x not found", hwnd));
    6870#ifdef OPEN32_GDI
    6971        dprintf(("GetDC %x", hwnd));
    70         return O32_GetDC(0);
     72        return O32_GetDC(0);
    7173#else
    7274        //desktop window?
Note: See TracChangeset for help on using the changeset viewer.