]> Creatis software - creaContours.git/commitdiff
TOTO : fix deprecated
authorjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Wed, 27 Jul 2011 14:19:53 +0000 (14:19 +0000)
committerjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Wed, 27 Jul 2011 14:19:53 +0000 (14:19 +0000)
lib/Interface_Icons_NDimensions/interfMainPanel.cxx

index c1179ebc2b43ef97db6898fd80178767d046bf42..4276c7e2a76ecc04ae7deaa4c808e07d1641d829 100644 (file)
@@ -303,6 +303,7 @@ void interfMainPanel::showPanel(wxWindow* panel)
 
        if(currentWindow != NULL){
                currentWindow->Hide();
+               /// \TODO fix warning: virtual bool wxSizer::Remove(wxWindow*) is deprecated 
                sizer->Remove(currentWindow);
        }
        sizer->Add(panel);
@@ -328,6 +329,7 @@ void interfMainPanel::hidePanel( )
 
        if(currentWindow != NULL){
                currentWindow->Hide();
+               /// \TODO fix warning: virtual bool wxSizer::Remove(wxWindow*) is deprecated 
                sizer->Remove(currentWindow);
        }
        wxPanel * emptyPanel = new wxPanel(interfMainPanel::getInstance()->getInfoPanel(), -1, wxDefaultPosition, wxDefaultSize, wxBORDER_STATIC, wxString(_T("")));