andrejv/wxmaxima — Issue #201: Problem with Menu Items in Linux build with wx 2.9.3
Author: DemiReticent
Created: 2011-12-18 04:13:54+00:00
State: open

When trying to click on menus File, Edit, Cell, or Maxima, the program fails with the message and backtrace found below.

The remaining menu items and submenus (including right click menus) all work fine.

```
ASSERT INFO:
../src/common/menucmn.cpp(976): assert "item" failed in Enable(): attempt to enable an item which doesn't exist

BACKTRACE:
[1] wxOnAssert(char const*, int, char const*, char const*, wchar_t const*)
[2] wxMenuBarBase::Enable(int, bool)
[3] wxMaxima::UpdateMenus(wxUpdateUIEvent&) /media/C6885BF2885BE00B/linux/src/wxmaxima-2.9/src/wxMaxima.cpp:1718
[4] wxAppConsoleBase::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) cons)
[5] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) cons)
[6] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[7] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[8] wxEvtHandler::TryHereOnly(wxEvent&)
[9] wxEvtHandler::ProcessEvent(wxEvent&)
[10] wxEvtHandler::DoTryChain(wxEvent&)
[11] wxEvtHandler::ProcessEventLocally(wxEvent&)
[12] wxEvtHandler::ProcessEvent(wxEvent&)
[13] wxMenuBase::UpdateUI(wxEvtHandler*)
[14] wxMenuBase::UpdateUI(wxEvtHandler*)
[15] wxFrameBase::DoMenuUpdates(wxMenu*)
[16] wxFrameBase::OnMenuOpen(wxMenuEvent&)
[17] wxAppConsoleBase::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) cons)
[18] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) cons)
[19] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[20] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[21] wxEvtHandler::TryHereOnly(wxEvent&)
[22] wxEvtHandler::ProcessEvent(wxEvent&)
[23] wxEvtHandler::DoTryChain(wxEvent&)
[24] wxEvtHandler::ProcessEventLocally(wxEvent&)
[25] wxEvtHandler::ProcessEvent(wxEvent&)
[26] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[27] wxWindowBase::HandleWindowEvent(wxEvent&) cons)
[28] g_cclosure_marshal_VOID__VOID()
[29] g_closure_invoke()
[30] g_signal_emit_valist()
[31] g_signal_emit()
[32] gtk_widget_map()
[33] g_cclosure_marshal_VOID__VOID()
[34] g_closure_invoke()
[35] g_signal_emit_valist()
[36] g_signal_emit()
[37] gtk_widget_map()
[38] g_cclosure_marshal_VOID__VOID()
[39] g_closure_invoke()
[40] g_signal_emit_valist()
[41] g_signal_emit()
[42] gtk_widget_show()
[43] gtk_menu_popup()
[44] g_cclosure_marshal_VOID__VOID()
[45] g_closure_invoke()
[46] g_signal_emit_valist()
[47] g_signal_emit()
[48] gtk_item_select()
[49] gtk_menu_item_select()
[50] gtk_menu_shell_select_item()
[51] g_closure_invoke()
[52] g_signal_emit_valist()
[53] g_signal_emit()
[54] g_closure_invoke()
[55] g_signal_emit_valist()
[56] g_signal_emit()
[57] gtk_main_do_event()
[58] g_main_context_dispatch()
[59] g_main_loop_run()
[60] gtk_main()
[61] wxGUIEventLoop::Run()
[62] wxAppConsoleBase::MainLoop()
[63] wxAppConsoleBase::OnRun()
```