* Close all children a window might have in a head-recursive manner * @param wc Window class of the window to remove. * @param number Window number of the window to remove. */
| 1090 | * @param number Window number of the window to remove. |
| 1091 | */ |
| 1092 | void Window::CloseChildWindowById(WindowClass wc, WindowNumber number) const |
| 1093 | { |
| 1094 | Window *child = this->FindChildWindowById(wc, number); |
| 1095 | while (child != nullptr) { |
| 1096 | child->Close(); |
| 1097 | child = this->FindChildWindowById(wc, number); |
| 1098 | } |
| 1099 | } |
| 1100 | |
| 1101 | /** |
| 1102 | * Hide the window and all its child windows, and mark them for a later deletion. |
no test coverage detected