mirrorPanel=NULL;
splitterwindow = new wxSplitterWindow(this,-1, wxDefaultPosition, wxSize(sizex, sizey), wxSP_3DSASH, wxString(_T("")));
+ splitterwindow->SetMinimumPaneSize( 10 );
sizey = sizey/8;
currentWindow = NULL;
funct.push_back((wxObjectEventFunction) &interfNewContourMenu::onCreateContourLine);
hand.push_back(this);
+ path.push_back(datadir + "/Line.png");
+ nom.push_back("Create Points");
+ funct.push_back((wxObjectEventFunction) &interfNewContourMenu::onCreateContourPoints);
+ hand.push_back(this);
+
this->addButtons(path, nom);
this->setVectorFunction(funct);
interfMainPanel::getInstance()->onCreateContourLine();
}
+void interfNewContourMenu::onCreateContourPoints( wxCommandEvent& event ){
+ interfMainPanel::getInstance()->onCreateContourLine();
+}