Ignore:
Timestamp:
Sep 1, 1999, 8:48:50 PM (26 years ago)
Author:
sandervl
Message:

Fixed GetWindowDC

File:
1 edited

Legend:

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

    r741 r777  
    1 /* $Id: wingdi.cpp,v 1.11 1999-08-30 11:59:54 sandervl Exp $ */
     1/* $Id: wingdi.cpp,v 1.12 1999-09-01 18:48:50 sandervl Exp $ */
    22/*
    33 * Win32 Window graphics apis for OS/2
     
    114114   window = Win32BaseWindow::GetWindowFromHandle(hwnd);
    115115   if(!window) {
    116     dprintf(("GetWindowDC, window %x not found", hwnd));
    117     return 0;
     116        dprintf(("GetWindowDC, window %x not found", hwnd));
     117        return 0;
    118118   }
    119119   dprintf(("GetWindowDC %x", hwnd));
    120120#ifdef OPEN32_GDI
    121    return O32_GetWindowDC(window->getOS2WindowHandle());
     121   return O32_GetWindowDC(window->getOS2FrameWindowHandle());
    122122#else
    123123   return OSLibWinGetPS(window->getOS2FrameWindowHandle());
Note: See TracChangeset for help on using the changeset viewer.