Remove ineffective attempt to fix mac menubar crash.

This commit is contained in:
Jeff Young 2024-01-27 17:45:37 +00:00
parent f7752ce0a1
commit 54b46c6968
1 changed files with 0 additions and 7 deletions

View File

@ -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 )