Ignore:
Timestamp:
Dec 29, 1999, 11:54:04 PM (26 years ago)
Author:
cbratschi
Message:

new mapping functions, fixed 1 pixel and window handle bugs

File:
1 edited

Legend:

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

    r2250 r2257  
    1 /* $Id: win32wbase.cpp,v 1.124 1999-12-29 14:37:17 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.125 1999-12-29 22:54:02 cbratschi Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    118118  }
    119119
    120   OSLibWinQueryWindowRect(OS2Hwnd,&rectWindow);
    121   rectClient = rectWindow;
    122   rectClient.bottom -= rectClient.top;
    123   rectClient.top = 0;
    124   rectClient.right -= rectClient.left;
    125   rectClient.left = 0;
     120  OSLibWinQueryWindowRect(OS2Hwnd,&rectClient,RELATIVE_TO_WINDOW);
     121  OSLibWinQueryWindowRect(OS2Hwnd,&rectWindow,RELATIVE_TO_SCREEN);
    126122
    127123  setOldWndProc(SubclassWithDefHandler(OS2Hwnd));
Note: See TracChangeset for help on using the changeset viewer.