Ignore:
Timestamp:
Jun 11, 2001, 10:08:26 PM (24 years ago)
Author:
sandervl
Message:

bug fixes

File:
1 edited

Legend:

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

    r5935 r5968  
    1 /* $Id: menu.cpp,v 1.32 2001-06-09 14:50:18 sandervl Exp $*/
     1/* $Id: menu.cpp,v 1.33 2001-06-11 20:08:23 sandervl Exp $*/
    22/*
    33 * Menu functions
     
    983983    lppop->Width = lppop->Height = 0;
    984984    if (lppop->nItems == 0) return;
     985#ifdef __WIN32OS2__
     986    hdc = CreateCompatibleDC( 0 );
     987#else
    985988    hdc = GetDC( 0 );
     989#endif
    986990
    987991    SelectObject( hdc, hMenuFont);
     
    10341038    lppop->Width += 2;
    10351039
     1040#ifdef __WIN32OS2__
     1041    DeleteDC(hdc);
     1042#else
    10361043    ReleaseDC( 0, hdc );
     1044#endif
    10371045}
    10381046
Note: See TracChangeset for help on using the changeset viewer.