Avoid crashes when creating initially hidden MDI child under Unity.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 26 Aug 2012 16:35:02 +0000 (16:35 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 26 Aug 2012 16:35:02 +0000 (16:35 +0000)
commit45f0926d4196f59ed6906056793df598462e5b55
tree796b7de1f76764d8d2ce3d2148cc1df3bc2d4896
parente64dd5d6524e2284f585c97514421e029a320393
Avoid crashes when creating initially hidden MDI child under Unity.

Ignore "hide" signals for the menus without associated shown window. Ubuntu
Unity sends them and we crashed because of a recursive assert in the
corresponding signal handler before.

Now the code doesn't crash any more but the menus still don't behave correctly
when the last MDI child is destroyed.

Closes #13593.

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