static ITEM *MENU_FindItemByCoords( MENU *menu, POINT pt, UINT *pos )
{
ITEM *item;
- UINT i, cx, cy;
+ UINT i;
+ INT cx, cy;
RECT rect;
PWND pWnd = ValidateHwndNoErr(menu->hWnd);
static BOOL FASTCALL MENU_ShowPopup(PWND pwndOwner, PMENU menu, UINT id, UINT flags,
INT x, INT y, const RECT* pExclude)
{
- UINT width, height;
+ INT width, height;
POINT ptx;
PMONITOR monitor;
PWND pWnd;
RECT rc;
rc.left = Item->xItem;
rc.top = Item->yItem;
- rc.right = Item->cxItem; // Do this for now......
+ rc.right = Item->cxItem;
rc.bottom = Item->cyItem;
MENU_AdjustMenuItemRect(Menu, &rc);