Merge branch 'hotfix-1.4' into develop

This commit is contained in:
Jinhao
2016-08-23 08:03:31 +08:00

View File

@@ -80,7 +80,9 @@ namespace nana
void drawing::erase(diehard_t d)
{
if(API::empty_window(handle_))
//Fixed by Tumiz
//https://github.com/cnjinhao/nana/issues/153
if(!API::empty_window(handle_))
restrict::get_drawer(handle_).erase(d);
}