diff options
-rw-r--r-- | common/DSUtilLite/PopupMenu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/DSUtilLite/PopupMenu.cpp b/common/DSUtilLite/PopupMenu.cpp index 044e3dbd..11a9e077 100644 --- a/common/DSUtilLite/PopupMenu.cpp +++ b/common/DSUtilLite/PopupMenu.cpp @@ -39,7 +39,7 @@ HRESULT CPopupMenu::AddItem(UINT id, LPWSTR caption, BOOL checked, BOOL enabled) MENUITEMINFO mii; mii.cbSize = sizeof(mii); mii.fMask = MIIM_ID | MIIM_STATE | MIIM_FTYPE | MIIM_STRING; - mii.fType = MFT_STRING; + mii.fType = MFT_STRING | MFT_RADIOCHECK; mii.wID = id; mii.fState = (checked ? MFS_CHECKED : 0) | (!enabled ? MFS_DISABLED : 0); mii.dwTypeData = caption; |