nom.push_back("Create a Line");
funct.push_back((wxObjectEventFunction) &interfNewContourMenu::onCreateContourLine);
hand.push_back(this);
-/*
- path.push_back(datadir + "/Line.png");
+
+ // RaC 09-09 ---------------------
+ path.push_back(datadir + "/Points.png");
nom.push_back("Create Points");
funct.push_back((wxObjectEventFunction) &interfNewContourMenu::onCreateContourPoints);
hand.push_back(this);
-*/
+ // RaC 09-09 ---------------------
+
this->addButtons(path, nom);
this->setVectorFunction(funct);
void interfNewContourMenu::onCreateContourLine( wxCommandEvent& event ){
interfMainPanel::getInstance()->onCreateContourLine();
}
-/*
+
+// RaC 09-09 ---------------------
void interfNewContourMenu::onCreateContourPoints( wxCommandEvent& event ){
- interfMainPanel::getInstance()->onCreateContourLine();
+ interfMainPanel::getInstance()->onCreateContourPoints();
}
-*/
+// RaC 09-09 ---------------------