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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user