Closed bob-white closed 7 years ago
I think this is safe, but I don't have anything that is using PanelFactory
which was the only item I could find using from_existing
so I could do some rather minimal testing.
Plus I'm not sure if anyone else out there is actually relying on from_existing
in their local code.
I think this is OK, although we should wait until I can put up a notice about it before we merge it into main. Maybe we should include an extension of gui.derive along with this this and then push the pair as a point release?
We could do an interim step where we leave from_existing
as an alias to wrap
and add a deprecation warning.
In the interest of preventing issues from propagating, I'd just make it fail instead of warning. We can include a fix note in the comment.
It has been superseded by Control.wrap, should solve #73