MCPcopy Create free account
hub / github.com/GeoDaCenter/geoda / UpdateOptionMenuItems

Method UpdateOptionMenuItems

Explore/MLJCMapNewView.cpp:538–548  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

536}
537
538void MLJCMapFrame::UpdateOptionMenuItems()
539{
540 TemplateFrame::UpdateOptionMenuItems(); // set common items first
541 wxMenuBar* mb = GdaFrame::GetGdaFrame()->GetMenuBar();
542 int menu = mb->FindMenu(_("Options"));
543 if (menu == wxNOT_FOUND) {
544 wxLogMessage("MLJCMapFrame::UpdateOptionMenuItems: Options menu not found");
545 } else {
546 ((MLJCMapCanvas*) template_canvas)->SetCheckMarks(mb->GetMenu(menu));
547 }
548}
549
550void MLJCMapFrame::UpdateContextMenuItems(wxMenu* menu)
551{

Callers 1

DisplayRightClickMenuMethod · 0.45

Calls 2

FindMenuMethod · 0.80
SetCheckMarksMethod · 0.45

Tested by

no test coverage detected