hand.push_back(this);
// RaC 09-09 ---------------------
+ // RaC 10-09 ---------------------
+ path.push_back(datadir + "/Polygon.png");
+ nom.push_back("Create Polygon");
+ funct.push_back((wxObjectEventFunction) &interfNewContourMenu::onCreateContourPolygon);
+ hand.push_back(this);
+ // RaC 10-09 ---------------------
+
this->addButtons(path, nom);
this->setVectorFunction(funct);
}
// RaC 09-09 ---------------------
+// RaC 10-09 ---------------------
+void interfNewContourMenu::onCreateContourPolygon( wxCommandEvent& event ){
+ interfMainPanel::getInstance()->onCreateContourPolygon();
+}
+// RaC 10-09 ---------------------
+