refine code
fix bug that listbox may throw std::runtime when the modal is enabled fix bug that textbox attachs a wrong event angent
This commit is contained in:
@@ -402,7 +402,7 @@ namespace nana
|
||||
root = agrparent->root;
|
||||
root_graph = agrparent->root_graph;
|
||||
index = static_cast<unsigned>(agrparent->children.size());
|
||||
agrparent->children.push_back(this);
|
||||
agrparent->children.emplace_back(this);
|
||||
}
|
||||
|
||||
predef_cursor = cursor::arrow;
|
||||
|
||||
Reference in New Issue
Block a user