Ignore:
Timestamp:
Oct 30, 1999, 12:55:16 PM (26 years ago)
Author:
sandervl
Message:

MapDialogRect fix

File:
1 edited

Legend:

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

    r1513 r1516  
    1 /* $Id: win32dlg.cpp,v 1.22 1999-10-30 09:19:45 sandervl Exp $ */
     1/* $Id: win32dlg.cpp,v 1.23 1999-10-30 10:55:15 sandervl Exp $ */
    22/*
    33 * Win32 Dialog Code for OS/2
     
    236236    dprintf(("********* DIALOG CREATION FAILED! ************"));
    237237    return FALSE;
     238}
     239//******************************************************************************
     240//******************************************************************************
     241BOOL Win32Dialog::MapDialogRect(LPRECT rect)
     242{
     243    rect->left   = (rect->left * xUnit) / 4;
     244    rect->right  = (rect->right * xUnit) / 4;
     245    rect->top    = (rect->top * yUnit) / 8;
     246    rect->bottom = (rect->bottom * yUnit) / 8;
     247    return TRUE;
    238248}
    239249/***********************************************************************
Note: See TracChangeset for help on using the changeset viewer.