]> Creatis software - creaContours.git/blobdiff - lib/Interface_Icons_NDimensions/interfNewContourMenu.cxx
Changes with manualBaseModel. It improves the functionality with the new
[creaContours.git] / lib / Interface_Icons_NDimensions / interfNewContourMenu.cxx
index 42d97ba3822036ad0b2c91eebc167689a04edf08..35cb02bfd61a3b774ecb2a6f11092817d5007383 100644 (file)
@@ -43,12 +43,14 @@ void interfNewContourMenu::initButtons(wxEvtHandler* evtHandler) {
        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); 
@@ -90,9 +92,10 @@ void interfNewContourMenu::onCreateContourCircle( wxCommandEvent& event ){
 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 ---------------------