Remove ineffective attempt to fix mac menubar crash.
This commit is contained in:
parent
f7752ce0a1
commit
54b46c6968
|
@ -408,13 +408,6 @@ void ACTION_MENU::OnMenuEvent( wxMenuEvent& aEvent )
|
|||
wxWindow* focus = wxWindow::FindFocus();
|
||||
TOOL_MANAGER* toolMgr = getToolManager();
|
||||
|
||||
if( !toolMgr )
|
||||
{
|
||||
wxFAIL_MSG( "ACTION_MENU event fired, but there's no TOOL_MANAGER!" );
|
||||
aEvent.Skip();
|
||||
return;
|
||||
}
|
||||
|
||||
if( type == wxEVT_MENU_OPEN )
|
||||
{
|
||||
if( m_dirty && toolMgr )
|
||||
|
|
Loading…
Reference in New Issue