| 2152 | } |
| 2153 | |
| 2154 | void MapCanvas::update(CatClassifState* o) |
| 2155 | { |
| 2156 | wxLogMessage("In MapCanvas::update(CatClassifState*)"); |
| 2157 | cat_classif_def = o->GetCatClassif(); |
| 2158 | num_categories = cat_classif_def.num_cats; |
| 2159 | CreateAndUpdateCategories(); |
| 2160 | PopulateCanvas(); |
| 2161 | if (template_frame) { |
| 2162 | template_frame->UpdateTitle(); |
| 2163 | if (template_frame->GetTemplateLegend()) { |
| 2164 | template_frame->GetTemplateLegend()->Recreate(); |
| 2165 | } |
| 2166 | } |
| 2167 | } |
| 2168 | |
| 2169 | std::vector<wxString> MapCanvas::GetLayerNames() |
| 2170 | { |
nothing calls this directly
no test coverage detected