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

Method OnShowLegend

Explore/MapLayoutView.cpp:612–623  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

610}
611
612void CanvasLayoutDialog::OnShowLegend(wxCommandEvent &event)
613{
614 bool show_legend = m_cb->GetValue();
615 if (m_no_bg) {
616 m_no_bg->Enable(show_legend);
617 }
618 legend_shape->Select(show_legend);
619 legend_shape->Show(show_legend);
620 wxClientDC dc(canvas);
621 canvas->Redraw(dc);
622 is_resize = true;
623}
624
625void CanvasLayoutDialog::OnTransparentBG(wxCommandEvent &event)
626{

Callers

nothing calls this directly

Calls 4

GetValueMethod · 0.45
SelectMethod · 0.45
ShowMethod · 0.45
RedrawMethod · 0.45

Tested by

no test coverage detected