| 281 | } |
| 282 | |
| 283 | void CUIWindow::DetachChild(CUIWindow* pChild, bool from_destructor) |
| 284 | { |
| 285 | if (!pChild) |
| 286 | return; |
| 287 | |
| 288 | __try |
| 289 | { |
| 290 | m_ChildWndList.remove(pChild); |
| 291 | } |
| 292 | __except (ExceptStackTrace("Exception catched in m_ChildWndList.remove(pChild)")) |
| 293 | { |
| 294 | FATAL("Exception catched in m_ChildWndList.remove(pChild)! Please send logs and minidumps to the engine developers!"); |
| 295 | } |
| 296 | |
| 297 | DoDetachChild(pChild, from_destructor); |
| 298 | } |
| 299 | |
| 300 | void CUIWindow::DetachAll() |
| 301 | { |
no test coverage detected