Remove useless code.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon
2005-08-28 08:05:33 +00:00
parent 8b7b0d67b0
commit a7f17c90e5
2 changed files with 0 additions and 14 deletions

View File

@@ -281,11 +281,6 @@ wxFrame::~wxFrame()
if (m_frameMenuBar)
{
m_frameMenuBar->DestroyMenuBar();
// Hack to stop core dump on Ultrix, OSF, for some strange reason.
#if MOTIF_MENUBAR_DELETE_FIX
GetMenuBar()->SetMainWidget((WXWidget) NULL);
#endif
delete m_frameMenuBar;
m_frameMenuBar = NULL;
}