| 1676 | // ---------------------------------------------------------------------------------------- |
| 1677 | |
| 1678 | void base_window:: |
| 1679 | close_window ( |
| 1680 | ) |
| 1681 | { |
| 1682 | using namespace gui_core_kernel_1_globals; |
| 1683 | auto_mutex M(wm); |
| 1684 | if (has_been_destroyed == false) |
| 1685 | { |
| 1686 | // do this just to make sure no one tries to call this window's |
| 1687 | // calbacks. |
| 1688 | globals->window_table.destroy(hwnd); |
| 1689 | gui_core_kernel_1_globals::destroy_window(hwnd); |
| 1690 | hwnd = 0; |
| 1691 | has_been_destroyed = true; |
| 1692 | globals->window_close_signaler.broadcast(); |
| 1693 | } |
| 1694 | } |
| 1695 | |
| 1696 | // ---------------------------------------------------------------------------------------- |
| 1697 |
nothing calls this directly
no test coverage detected