修正窗口关闭后依然在WAIT MESSAGE的BUG

This commit is contained in:
hyzboy 2019-05-13 13:36:25 +08:00
parent 0ce2f43e2e
commit 0fa6eeaebc

View File

@ -93,9 +93,12 @@ namespace hgl
{ {
} }
if(is_close)
return(false);
if(!active||is_min) if(!active||is_min)
this->WaitMessage(); this->WaitMessage();
return(!is_close); return(true);
} }
}//namespace hgl }//namespace hgl