Don't hide the window in its dtor in wxGTK.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 13 Aug 2013 17:36:47 +0000 (17:36 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 13 Aug 2013 17:36:47 +0000 (17:36 +0000)
commit88e264616b10eab9d3271162044bd866ee60a4f3
treeaf643e3ef2e4c2e71076e5c15ee1c9d43b872731
parent3e5a70b5d72ad133913ce6091fb2dc349249cab2
Don't hide the window in its dtor in wxGTK.

This results in sending an unexpected wxShowEvent to an already half-destroyed
(because the derived class dtor had been already executed) by now object which
could provoke crashes. And it also seems to be completely unnecessary as the
window is going to be destroyed anyhow -- and the other ports don't hide it
before this happens (unless it's a TLW in which case it is already hidden in
wxTopLevelWindowBase::Destroy()).

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