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