]> 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 697ed9823649578540fafbef8efcf6fb94cfe103..35cb02bfd61a3b774ecb2a6f11092817d5007383 100644 (file)
@@ -44,11 +44,13 @@ void interfNewContourMenu::initButtons(wxEvtHandler* evtHandler) {
        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); 
@@ -91,6 +93,9 @@ 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 ---------------------
+