int CGraphWnd::EditPoint(int graphnum, int index, double x, double y, BOOL bRedraw) { CGraphProps* graph = GetGraph(graphnum); if (graph == NULL) return -1; int res = graph->EditPoint(index, x, y, TRUE); if (graph_frame != NULL) { SGraphChange sgc; sgc.graphnum = graphnum; sgc.index = index; sgc.bRedraw = bRedraw; sgc.main_wnd_ptr = this; graph_frame->UpdateViews(GRAPH_POINT_CHANGED, &sgc); }; return res; }