]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/pPlotterWindow.cxx
*** empty log message ***
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / pPlotter / pPlotterWindow.cxx
index 4fb13342677e2bb7e0f3ed79dddfb8b03b4f3109..7635f6070d87806be6fd46c619ca3fd7e47c6385 100644 (file)
@@ -1710,6 +1710,9 @@ void pPlotterWindow :: OnGuideLines (wxCommandEvent   &event)
 pGraphicalFunction* pPlotterWindow::getFunction(int index)
 {
        wxNode* node=functions.Item(index);
+       if(node==NULL){
+               return NULL;
+       }
        return (pGraphicalFunction*)node->GetData();
 }
 /*