Ignore:
Timestamp:
Oct 29, 1999, 1:51:05 AM (26 years ago)
Author:
sandervl
Message:

Focus + dialog fixes

File:
1 edited

Legend:

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

    r1433 r1507  
    1 /* $Id: win32dlg.cpp,v 1.20 1999-10-24 22:56:09 sandervl Exp $ */
     1/* $Id: win32dlg.cpp,v 1.21 1999-10-28 23:51:05 sandervl Exp $ */
    22/*
    33 * Win32 Dialog Code for OS/2
     
    7272        /* The font height must be negative as it is a point size */
    7373        /* (see CreateFont() documentation in the Windows SDK).   */
    74         hUserFont = CreateFontW(dlgInfo.pointSize*2, 0, 0, 0,
     74        hUserFont = CreateFontW(-(dlgInfo.pointSize*3)/2, 0, 0, 0,
    7575                            dlgInfo.weight, dlgInfo.italic, FALSE,
    7676                            FALSE, DEFAULT_CHARSET, 0, 0, PROOF_QUALITY,
     
    8080            SIZE charSize;
    8181            getCharSize(hUserFont,&charSize);
    82             xBaseUnit = charSize.cx;
    83             yBaseUnit = charSize.cy;
     82            xUnit = charSize.cx;
     83            yUnit = charSize.cy;
    8484        }
    8585    }
Note: See TracChangeset for help on using the changeset viewer.