• Rein Klazes's avatar
    user: Menu drawing fixes. · 444a5471
    Rein Klazes authored
    - Move sending WM_MEASUREITEM message for HBMMENU_CALLBACK bitmaps to
    MENU_GetBitmapItemSize();
    - Save the received bitmap size in the menu item structure as it will
    need to be sent in the WM_DRAWITEM message;
    -  Move sending WM_DRAWITEM message for HBMMENU_CALLBACK bitmaps to
    MENU_DrawBitmapItem();
    - This also means that HBMMENU_CALLBACK bitmaps are now supported in
    menu bars.
    444a5471
menu.c 152 KB