Ignore:
Timestamp:
Jan 21, 2000, 2:30:35 PM (26 years ago)
Author:
sandervl
Message:

Many bugfixes

File:
1 edited

Legend:

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

    r2483 r2489  
    1 /* $Id: oslibwin.cpp,v 1.62 2000-01-20 16:48:55 cbratschi Exp $ */
     1/* $Id: oslibwin.cpp,v 1.63 2000-01-21 13:30:34 sandervl Exp $ */
    22/*
    33 * Window API wrappers for OS/2
     
    613613        point.y = y;
    614614
    615         if (hParent)
     615        if(hParent)
    616616        {
    617           RECTL parentRect;
    618 
    619           WinQueryWindowRect(hParent,&parentRect);
    620           point.y = parentRect.yTop-point.y-cy;
    621         } else point.y = ScreenHeight-point.y-cy;
     617                WinMapWindowPoints(hParent, HWND_DESKTOP, &point, 1);
     618        }
     619        point.y = ScreenHeight-point.y-cy;
    622620
    623621        x  = point.x;
Note: See TracChangeset for help on using the changeset viewer.