Fixed default menu item.
This commit is contained in:
parent
96ed828d92
commit
f78e41a3dc
|
@ -240,7 +240,7 @@ void WINAPI _InsertMenuItem (
|
|||
else
|
||||
{ mii.fMask = MIIM_ID | MIIM_TYPE | MIIM_STATE;
|
||||
mii.dwTypeData = dwTypeData;
|
||||
mii.fState = MFS_ENABLED | MFS_DEFAULT;
|
||||
mii.fState = fState;
|
||||
}
|
||||
mii.wID = wID;
|
||||
mii.fType = fType;
|
||||
|
|
Loading…
Reference in New Issue