fix GCC errors when -std=c++17 is specified

This commit is contained in:
Jinhao
2018-08-09 07:50:56 +08:00
parent 1ff1c55592
commit e91d3446eb
3 changed files with 33 additions and 31 deletions

View File

@@ -1384,9 +1384,10 @@ namespace nana{
}
else if(window_relationship::owner == rsp)
return owner;
return x11_parent_window(wd);
else if(window_relationship::parent == rsp)
return x11_parent_window(wd);
#endif
return nullptr;
}
native_window_type native_interface::parent_window(native_window_type child, native_window_type new_parent, bool returns_previous)