* Select all items. */
| 482 | * Select all items. |
| 483 | */ |
| 484 | void MultilistBox::selectAll() |
| 485 | { |
| 486 | for (auto &c : Controls) |
| 487 | { |
| 488 | if (c->isVisible() && funcHandleSelection(nullptr, c, true)) |
| 489 | { |
| 490 | selectedSet.insert(c); |
| 491 | } |
| 492 | } |
| 493 | |
| 494 | setDirty(); |
| 495 | } |
| 496 | |
| 497 | /** |
| 498 | * Deselect all selected items. |