Ignore:
Timestamp:
Apr 28, 2001, 3:33:49 PM (24 years ago)
Author:
sandervl
Message:

resync with latest wine

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/shell32/shlmenu.c

    r4121 r5618  
    1 /* $Id: shlmenu.c,v 1.1 2000-08-30 13:52:59 sandervl Exp $ */
    21/*
    32 * see www.geocities.com/SiliconValley/4942/filemenu.html
    43 */
    5 #ifdef __WIN32OS2__
    6 #define ICOM_CINTERFACE 1
    7 #include <odin.h>
    8 #endif
    94#include <string.h>
    105
     6#include "shlobj.h"
    117#include "wine/obj_base.h"
    128#include "wine/obj_enumidlist.h"
    139#include "wine/obj_shellfolder.h"
    1410#include "wine/undocshell.h"
    15 
     11#include "shlwapi.h"
    1612#include "heap.h"
    1713#include "debugtools.h"
     
    5248#define CCH_MAXITEMTEXT 256
    5349
    54 DEFAULT_DEBUG_CHANNEL(shell)
     50DEFAULT_DEBUG_CHANNEL(shell);
    5551
    5652LPFMINFO FM_GetMenuInfo(HMENU hmenu)
     
    359355
    360356}
     357
     358/**********************************************************************/
     359
    361360BOOL WINAPI FileMenu_AppendItemAW(
    362361        HMENU hMenu,
     
    603602       
    604603        Shell_GetImageList(0, &hImageList);
    605         pImageList_Draw(hImageList, pMyItem->iIconIndex, lpdis->hDC, xi, yi, ILD_NORMAL);
     604        ImageList_Draw(hImageList, pMyItem->iIconIndex, lpdis->hDC, xi, yi, ILD_NORMAL);
    606605
    607606        TRACE("-- 0x%04x 0x%04x 0x%04x 0x%04x\n", TextRect.left, TextRect.top, TextRect.right, TextRect.bottom);
     
    691690
    692691        GetMenuItemInfoA(hMenu, uID, FALSE, &mii );
    693         if ( mii.hSubMenu );
     692        if ( mii.hSubMenu )
     693        {
     694          /* FIXME: Do what? */
     695        }
    694696
    695697        DeleteMenu(hMenu, MF_BYCOMMAND, uID);
     
    711713
    712714        GetMenuItemInfoA(hMenu, uPos, TRUE, &mii );
    713         if ( mii.hSubMenu );
     715        if ( mii.hSubMenu )
     716        {
     717          /* FIXME: Do what? */
     718        }
    714719
    715720        DeleteMenu(hMenu, MF_BYPOSITION, uPos);
     
    820825        return(FALSE);
    821826}
     827
     828/**********************************************************************/
    822829
    823830HRESULT WINAPI Shell_MergeMenus (HMENU hmDst, HMENU hmSrc, UINT uInsert, UINT uIDAdjust, UINT uIDAdjustMax, ULONG uFlags)
Note: See TracChangeset for help on using the changeset viewer.