+}
+
+/**
+** Hide the panel in the
+**/
+void interfMainPanel::hidePanel( ){
+ wxContourMainFrame::getInstance()->showAxis(false);
+ wxSizer* sizer = infoPanel->GetSizer();
+
+ if(currentWindow != NULL){
+ currentWindow->Hide();
+ sizer->Remove(currentWindow);
+ }
+ wxPanel * emptyPanel = new wxPanel(interfMainPanel::getInstance()->getInfoPanel(), -1, wxDefaultPosition, wxDefaultSize, wxBORDER_STATIC, wxString(_T("")));
+ sizer->Add(emptyPanel);
+ currentWindow = emptyPanel;
+ currentWindow->Show(true);