Ticket #15237 (closed defect: fixed)
Problem with reparenting a TLW as child window
|Reported by:||Chuddah||Owned by:|
Reparenting a widget in GTK involved updating the child list of the parent and updating the parent of the child.
In the case of TopLevelWindows; the parent is always NULL.
Reparenting a top level window to be the child of a widget fails to update the parent item of the top level, although, updates the child list of the parent to include the top level window (See https://bugzilla.gnome.org/show_bug.cgi?id=701296 )
This causes problems later when assertions are made to verify the parent item of a widget is indeed a child of its parent.
Ive submitted the fix for this to GTK although there is a quick workaround that can be put into wxWidgets.