cool, the program disappear inversely
This commit is contained in:
parent
10eaa91c3c
commit
b0815fafca
@ -528,8 +528,14 @@ namespace nana
|
|||||||
{
|
{
|
||||||
for (auto i = elements.begin(), end = elements.end(); i != end; ++i)
|
for (auto i = elements.begin(), end = elements.end(); i != end; ++i)
|
||||||
{
|
{
|
||||||
if (!API::is_destroying(API::get_parent_window(wd)))
|
if (i->handle == wd)
|
||||||
place_ptr_->collocate();
|
{
|
||||||
|
elements.erase(i);
|
||||||
|
|
||||||
|
if (!API::is_destroying(API::get_parent_window(wd)))
|
||||||
|
place_ptr_->collocate();
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user