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/window.cpp

    r332 r378  
    1 /* $Id: window.cpp,v 1.7 1999-07-18 18:04:30 sandervl Exp $ */
     1/* $Id: window.cpp,v 1.8 1999-07-23 19:09:25 cbratschi Exp $ */
    22/*
    33 * Win32 window apis for OS/2
     
    178178    window = Win32Window::GetWindowFromHandle(hwnd);
    179179    if(!window) {
    180         dprintf(("DestroyWindow, window %x not found", hwnd));
    181         return 0;
     180        dprintf(("DestroyWindow, window %x not found", hwnd));
     181        return 0;
    182182    }
    183183    dprintf(("DestroyWindow %x", hwnd));
     
    192192    window = Win32Window::GetWindowFromHandle(hwnd);
    193193    if(!window) {
    194         dprintf(("SetActiveWindow, window %x not found", hwnd));
    195         return 0;
     194        dprintf(("SetActiveWindow, window %x not found", hwnd));
     195        return 0;
    196196    }
    197197    dprintf(("SetActiveWindow %x", hwnd));
     
    206206    window = Win32Window::GetWindowFromHandle(hwnd);
    207207    if(!window) {
    208         dprintf(("GetParent, window %x not found", hwnd));
    209         return 0;
     208        dprintf(("GetParent, window %x not found", hwnd));
     209        return 0;
    210210    }
    211211    dprintf(("GetParent %x", hwnd));
     
    220220    window = Win32Window::GetWindowFromHandle(hwndChild);
    221221    if(!window) {
    222         dprintf(("SetParent, window %x not found", hwndChild));
    223         return 0;
     222        dprintf(("SetParent, window %x not found", hwndChild));
     223        return 0;
    224224    }
    225225    dprintf(("SetParent %x %x", hwndChild, hwndNewParent));
     
    234234    window = Win32Window::GetWindowFromHandle(hwnd);
    235235    if(!window) {
    236         dprintf(("IsChild, window %x not found", hwnd));
    237         return 0;
     236        dprintf(("IsChild, window %x not found", hwnd));
     237        return 0;
    238238    }
    239239    dprintf(("IsChild %x %x", hwndParent, hwnd));
     
    593593    WriteLog("USER32:  GetClientRect of %X\n", arg1);
    594594#endif
    595 
     595    arg1 = Win32Window::Win32ToOS2Handle(arg1);
    596596    return O32_GetClientRect(arg1, arg2);
    597597}
Note: See TracChangeset for help on using the changeset viewer.