]> git.saurik.com Git - wxWidgets.git/commit
Check for GTK window parent, not wx one, when reparenting.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 9 Jul 2011 23:37:03 +0000 (23:37 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 9 Jul 2011 23:37:03 +0000 (23:37 +0000)
commit0edbdf6a45beed571efa0f6f1b5b4396d8932d36
treed9350613ecef9fe26e46c9a2c5459554a914c058
parentcd9b34ef833ca8e79821de19ce25f7c3287a8506
Check for GTK window parent, not wx one, when reparenting.

A notebook page removed from its notebook can have a non-NULL wx parent but
not have any parent at GTK level any longer, so test for the window parent at
GTK level before removing the widget from it, otherwise we were getting GTK
asserts when trying to remove a window from its no-more-parent.

See #13305.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/gtk/window.cpp