Hello!
It seems to be a bug...? Parent accepts the copy of a child (parent etc.) (Ctrl button pressed and dragged) no matter it's in the accepted list of this parent.
wxSFShapeCanvas::_OnDrop -> ... shape = m_pManager->AddShape(shape, parent, pos, initialize, err)
There is no check like parent->IsChildAccepted inside wxDiagramManager::AddShape(shape, parent, pos, initialize, err) So, I think there is a bug here.
Best wishes!
KOS
Log in to post a comment.
Hello!
It seems to be a bug...?
Parent accepts the copy of a child (parent etc.) (Ctrl button pressed and dragged) no matter it's in the accepted list of this parent.
wxSFShapeCanvas::_OnDrop -> ... shape = m_pManager->AddShape(shape, parent, pos, initialize, err)
There is no check like
parent->IsChildAccepted inside wxDiagramManager::AddShape(shape, parent, pos, initialize, err)
So, I think there is a bug here.
Best wishes!
KOS