| 44 | } |
| 45 | |
| 46 | static void RemoveMenuItemsInRangeRecursive(CMenu* pMenu, UINT idStart, UINT idEnd) |
| 47 | { |
| 48 | TraverseMenuRecursive(pMenu, [idStart, idEnd](CMenu* pMenu, int index, UINT id) |
| 49 | { |
| 50 | if (id >= idStart && id <= idEnd) |
| 51 | pMenu->RemoveMenu(index, MF_BYPOSITION); |
| 52 | }); |
| 53 | } |
| 54 | |
| 55 | static void RemoveTrailingSeparator(CMenu* pMenu) |
| 56 | { |
no test coverage detected