From 9cfc8937ca83d9bd9937ddb0275294f98fcf453d Mon Sep 17 00:00:00 2001 From: jean-pierre roux Date: Wed, 27 Jul 2011 14:19:53 +0000 Subject: [PATCH] TOTO : fix deprecated --- lib/Interface_Icons_NDimensions/interfMainPanel.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Interface_Icons_NDimensions/interfMainPanel.cxx b/lib/Interface_Icons_NDimensions/interfMainPanel.cxx index c1179eb..4276c7e 100644 --- a/lib/Interface_Icons_NDimensions/interfMainPanel.cxx +++ b/lib/Interface_Icons_NDimensions/interfMainPanel.cxx @@ -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(""))); -- 2.47.1