Ignore:
Timestamp:
Feb 5, 2000, 5:25:00 PM (26 years ago)
Author:
sandervl
Message:

WM_ERASEBKGND changes

File:
1 edited

Legend:

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

    r2582 r2663  
    1 /* $Id: dc.cpp,v 1.41 2000-01-31 22:30:51 sandervl Exp $ */
     1/* $Id: dc.cpp,v 1.42 2000-02-05 16:24:57 sandervl Exp $ */
    22
    33/*
     
    2929#include <limits.h>
    3030#include "oslibwin.h"
    31 #include "dcdata.h"
     31#include <dcdata.h>
    3232
    3333#define INCLUDED_BY_DC
     
    7070
    7171HWND WIN32API GetDesktopWindow(void);
     72INT  WIN32API GetUpdateRgn(HWND, HRGN, BOOL);
    7273
    7374//******************************************************************************
     
    463464        }
    464465   }
     466
     467   //SvL: Get update region for WM_ERASEBACKGROUND handling in the def wndproc
     468   GetUpdateRgn(hWnd, wnd->GetUpdateRegion(), FALSE);
    465469
    466470   HWND hwndClient = wnd->getOS2WindowHandle();
     
    884888{
    885889   Win32BaseWindow *wnd;
     890
     891   if(pRect) {
     892          dprintf(("RedrawWindow %x (%d,%d)(%d,%d) %x %x", hwnd, pRect->left, pRect->top, pRect->right, pRect->bottom, hrgn, redraw));
     893   }
     894   else   dprintf(("RedrawWindow %x %x %x %x", hwnd, pRect, hrgn, redraw));
    886895
    887896   if (redraw & (RDW_FRAME_W | RDW_NOFRAME_W))
Note: See TracChangeset for help on using the changeset viewer.