| 1323 | Exit(idc); |
| 1324 | break; |
| 1325 | case IDC_CUST_DELETE: |
| 1326 | { |
| 1327 | CTree* tree = dynamic_cast<CTree*>(GetCtrl(IDC_CUST_GAME)); |
| 1328 | CTreeItem* item = tree->GetSelected(); |
| 1329 | if (item && item->level == 3) |
| 1330 | { |
| 1331 | CreateMsgBox(MB_BUTTON_OK | MB_BUTTON_CANCEL, LocalizeString(IDS_SURE), IDD_MSG_DELETEGAME); |
| 1332 | } |
| 1333 | } |
| 1334 | break; |
| 1335 | default: |
| 1336 | Display::OnButtonClicked(idc); |
| 1337 | break; |
| 1338 | } |
| 1339 | } |
nothing calls this directly
no test coverage detected