Changeset 4665 for trunk/src


Ignore:
Timestamp:
Nov 21, 2000, 4:17:14 PM (25 years ago)
Author:
sandervl
Message:

CopyImage fix for icons

Location:
trunk/src/user32
Files:
2 edited

Legend:

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

    r4548 r4665  
    1 /* $Id: menu.cpp,v 1.26 2000-11-01 20:51:37 sandervl Exp $*/
     1/* $Id: menu.cpp,v 1.27 2000-11-21 15:17:12 sandervl Exp $*/
    22/*
    33 * Menu functions
     
    18661866
    18671867    /* Find where to insert new item */
    1868 
    1869     /* Find where to insert new item */
    1870 
    18711868    if (flags & MF_BYPOSITION) {
    18721869        if (pos > menu->nItems)
     
    18801877        }
    18811878    }
    1882 
    18831879    /* Create new items array */
    18841880
     
    35323528    MENUITEM *item;
    35333529
    3534     dprintf(("USER32: GetMenuStringW"));
     3530    dprintf(("USER32: GetMenuStringW %x %d %x %d %d", hMenu, wItemID, str, nMaxSiz, wFlags));
    35353531
    35363532    //TRACE("menu=%04x item=%04x ptr=%p len=%d flags=%04x\n",
     
    36183614    LPPOPUPMENU menu = MENU_GetMenu(hMenu);
    36193615
    3620     dprintf(("USER32: GetMenuItemCount"));
     3616    dprintf(("USER32: GetMenuItemCount %x", hMenu));
    36213617
    36223618    if (!IS_A_MENU(menu)) return -1;
     
    36333629    MENUITEM * lpmi;
    36343630
    3635     dprintf(("USER32: GetMenuItemID"));
     3631    dprintf(("USER32: GetMenuItemID %x %d", hMenu, nPos));
    36363632
    36373633    if (!(lpmi = MENU_FindItem(&hMenu,(UINT*)&nPos,MF_BYPOSITION))) return 0xFFFFFFFF;
  • trunk/src/user32/winicon.cpp

    r4649 r4665  
    1 /* $Id: winicon.cpp,v 1.15 2000-11-20 20:28:16 sandervl Exp $ */
     1/* $Id: winicon.cpp,v 1.16 2000-11-21 15:17:14 sandervl Exp $ */
    22/*
    33 * Win32 Icon Code for OS/2
     
    857857                dprintf(("WARNING: no resource associated with icon/cursor -> copy without scaling!"));
    858858                hNew = CURSORICON_Copy(Handle);
     859                return hNew;
    859860            }
    860861
Note: See TracChangeset for help on using the changeset viewer.