Merge branch 'develop' of https://github.com/beru/nana into beru-develop

This commit is contained in:
Jinhao
2019-04-16 23:39:40 +08:00
62 changed files with 183 additions and 183 deletions

View File

@@ -437,7 +437,7 @@ namespace nana
extra_width = extra_height = 0;
//The window must keep its thread_id same as its parent if it is a child.
//Otherwise, its root buffer would be mapped repeatly if it is in its parent thread.
//Otherwise, its root buffer would be mapped repeatedly if it is in its parent thread.
thread_id = nana::system::this_thread_id();
if(agrparent && (thread_id != agrparent->thread_id))
thread_id = agrparent->thread_id;