fix wrong order of widget deletion

This commit is contained in:
Jinhao
2016-09-24 08:15:44 +08:00
parent 8dccccc420
commit 0e6ea35858
2 changed files with 20 additions and 8 deletions

View File

@@ -382,12 +382,6 @@ namespace nana
}
//class widget_base
widget_base::~widget_base()
{
if (handle_)
API::close_window(handle_);
}
window widget_base::handle() const
{
return handle_;