| 1044 | } |
| 1045 | |
| 1046 | void ConditionalMapFrame::MapMenus() |
| 1047 | { |
| 1048 | wxMenuBar* mb = GdaFrame::GetGdaFrame()->GetMenuBar(); |
| 1049 | // Map Options Menus |
| 1050 | wxMenu* optMenu = wxXmlResource::Get()-> |
| 1051 | LoadMenu("ID_COND_MAP_VIEW_MENU_OPTIONS"); |
| 1052 | ((ConditionalMapCanvas*) template_canvas)-> |
| 1053 | AddTimeVariantOptionsToMenu(optMenu); |
| 1054 | TemplateCanvas::AppendCustomCategories(optMenu, |
| 1055 | project->GetCatClassifManager()); |
| 1056 | ((ConditionalMapCanvas*) template_canvas)->SetCheckMarks(optMenu); |
| 1057 | GeneralWxUtils::ReplaceMenu(mb, _("Options"), optMenu); |
| 1058 | UpdateOptionMenuItems(); |
| 1059 | } |
| 1060 | |
| 1061 | void ConditionalMapFrame::UpdateOptionMenuItems() |
| 1062 | { |
nothing calls this directly
no test coverage detected