Ignore:
Timestamp:
Jul 23, 1999, 9:09:26 PM (26 years ago)
Author:
cbratschi
Message:

BeginPaint() fix

File:
1 edited

Legend:

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

    r340 r378  
    1 /* $Id: wingdi.cpp,v 1.4 1999-07-19 18:40:44 sandervl Exp $ */
     1/* $Id: wingdi.cpp,v 1.5 1999-07-23 19:09:26 cbratschi Exp $ */
    22/*
    33 * Win32 Window graphics apis for OS/2
     
    3030    }
    3131    dprintf(("BeginPaint %X\n", hwnd));
    32     lps->hdc = OSLibWinBeginPaint(window->getOS2WindowHandle(), &lps->rcPaint);
     32    return O32_BeginPaint(window->getOS2WindowHandle(),lps);
     33    //CB: conflict with Open32 mechanism
     34    //lps->hdc = OSLibWinBeginPaint(window->getOS2WindowHandle(), &lps->rcPaint);
    3335
    3436    return lps->hdc;
     
    3941{
    4042    dprintf(("EndPaint %x\n", hwnd));
    41     return OSLibWinEndPaint(lps->hdc);
     43    return O32_EndPaint(hwnd,lps);
     44    //CB: dito
     45    //return OSLibWinEndPaint(lps->hdc);
    4246}
    4347//******************************************************************************
     
    5458   }
    5559   dprintf(("GetDC %x", hwnd));
    56    return OSLibWinGetPS(window->getOS2WindowHandle());
     60   return O32_GetDC(window->getOS2WindowHandle());
     61   //return OSLibWinGetPS(window->getOS2WindowHandle());
    5762}
    5863//******************************************************************************
     
    7075int WIN32API ReleaseDC(HWND hwnd, HDC hdc)
    7176{
    72     return OSLibWinReleasePS(hdc);
     77    return O32_ReleaseDC(hwnd,hdc);
     78    //return OSLibWinReleasePS(hdc);
    7379}
    7480//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.