Ignore:
Timestamp:
Jul 18, 1999, 4:39:35 PM (26 years ago)
Author:
sandervl
Message:

* empty log message *

File:
1 edited

Legend:

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

    r327 r328  
    1 /* $Id: oslibwin.cpp,v 1.11 1999-07-18 13:57:47 cbratschi Exp $ */
     1/* $Id: oslibwin.cpp,v 1.12 1999-07-18 14:39:35 sandervl Exp $ */
    22/*
    33 * Window API wrappers for OS/2
     
    256256//******************************************************************************
    257257//******************************************************************************
    258 BOOL OSLibWinQueryUpdateRect(HWND hwnd, POSRECTL pRect)
    259 {
    260   return WinQueryUpdateRect(hwnd, (PRECTL)pRect);
    261   //CB: caller must convert rect
     258BOOL OSLibWinQueryUpdateRect(HWND hwnd, PRECT pRect)
     259{
     260 BOOL rc;
     261 RECTLOS2 rectl;
     262
     263  rc = WinQueryUpdateRect(hwnd, (PRECTL)&rectl);
     264  if(rc) {
     265        MapOS2ToWin32Rectl(hwnd, &rectl, pRect);
     266  }
     267  return rc;
    262268}
    263269//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.