Don't crash in wxMenuBar::Remove() if unattached in wxGTK.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 26 Sep 2012 22:29:14 +0000 (22:29 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 26 Sep 2012 22:29:14 +0000 (22:29 +0000)
commit64b788642dc8c3338a2230be35f50db28e117e3d
tree151e0e3e5d9ace5bae35d045d6d24609948db019
parentf3128ca17de43da155c5c6ca5252432f99d29d22
Don't crash in wxMenuBar::Remove() if unattached in wxGTK.

It should be possible to remove a menu from a menu bar even before it is
attached to a frame without crashing.

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