Changeset 4865 for trunk/src


Ignore:
Timestamp:
Jan 1, 2001, 12:48:10 PM (25 years ago)
Author:
sandervl
Message:

Bugfix for bitmap menu items (wrong cast)

File:
1 edited

Legend:

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

    r4757 r4865  
    1 /* $Id: menu.cpp,v 1.28 2000-12-05 13:05:50 sandervl Exp $*/
     1/* $Id: menu.cpp,v 1.29 2001-01-01 11:48:10 sandervl Exp $*/
    22/*
    33 * Menu functions
     
    18261826    }
    18271827    else if (IS_BITMAP_ITEM(flags))
     1828#ifdef __WIN32OS2__
     1829        //SvL: Our bitmap handles are 32 bits!
     1830        item->text = (LPSTR)str;
     1831#else
    18281832        item->text = (LPSTR)(HBITMAP)LOWORD(str);
     1833#endif
    18291834    else item->text = NULL;
    18301835
     
    37173722                             UINT id, LPCSTR data )
    37183723{
    3719     dprintf(("USER32: AppendMenuA"));
     3724    dprintf(("USER32: AppendMenuA %x %x %d %x", hMenu, flags, id, data));
    37203725
    37213726    return InsertMenuA( hMenu, -1, flags | MF_BYPOSITION, id, data );
Note: See TracChangeset for help on using the changeset viewer.