Distinguish RADIOCHECK style menu items from standard checkmark menu

items.
This commit is contained in:
Susan Farley 2000-05-12 21:59:31 +00:00 committed by Alexandre Julliard
parent b64aa2460e
commit f1d467a337

View File

@ -4509,6 +4509,9 @@ static BOOL SetMenuItemInfo_common(MENUITEM * menu,
if (lpmii->fMask & MIIM_CHECKMARKS)
{
if (lpmii->fType & MFT_RADIOCHECK)
menu->fType |= MFT_RADIOCHECK;
menu->hCheckBit = lpmii->hbmpChecked;
menu->hUnCheckBit = lpmii->hbmpUnchecked;
}