diff --git a/workspace/core_include/wnd.h b/workspace/core_include/wnd.h index 195c899..8e29836 100644 --- a/workspace/core_include/wnd.h +++ b/workspace/core_include/wnd.h @@ -142,7 +142,7 @@ class c_wnd : public c_cmd_target c_wnd* child = m_top_child; if (0 != child) { - while (child) + while (child && child->m_parent == this) { child->show_window(); child = child->m_next_sibling;