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

Method UpdateOptionMenuItems

Explore/ScatterNewPlotView.cpp:2022–2033  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2020}
2021
2022void ScatterNewPlotFrame::UpdateOptionMenuItems()
2023{
2024 TemplateFrame::UpdateOptionMenuItems(); // set common items first
2025 wxMenuBar* mb = GdaFrame::GetGdaFrame()->GetMenuBar();
2026 int menu = mb->FindMenu(_("Options"));
2027 if (menu == wxNOT_FOUND) {
2028 } else {
2029 ((ScatterNewPlotCanvas*) template_canvas)->
2030 SetCheckMarks(mb->GetMenu(menu));
2031
2032 }
2033}
2034
2035void ScatterNewPlotFrame::UpdateContextMenuItems(wxMenu* menu)
2036{

Callers 1

DisplayRightClickMenuMethod · 0.45

Calls 2

FindMenuMethod · 0.80
SetCheckMarksMethod · 0.45

Tested by

no test coverage detected