]> Creatis software - creaMaracasVisu.git/commitdiff
*** empty log message ***
authorJuan Prieto <Juan.Prieto@creatis.insa-lyon.fr>
Fri, 15 May 2009 09:29:50 +0000 (09:29 +0000)
committerJuan Prieto <Juan.Prieto@creatis.insa-lyon.fr>
Fri, 15 May 2009 09:29:50 +0000 (09:29 +0000)
bbtk/src/bbmaracasvisuViewerNV.cxx
lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkBaseView.cxx

index ff52573783798e5633a69282472d1c2dda7d6bbc..83a8dd1451370a0054278469d8dbed95eb14dd4a 100644 (file)
@@ -149,6 +149,7 @@ void ViewerNV::bbUserCopyConstructor(bbtk::BlackBox::Pointer)
 void ViewerNV::bbUserDestructor()
 {
 std::cout << "ViewerNV destroy "<<this<<" vs "<<GetThisPointer<void>()<<std::endl;
+       //delete mwxwidget;
 
 }
 
index 564f6594cc4e136f1b0a5d68599b68627a30802a..716bedf7dae8fff80e60eb587db87ade63dcf2a5 100644 (file)
@@ -31,8 +31,8 @@ wxVtkBaseView::wxVtkBaseView(wxWindow *parent)
 //-------------------------------------------------------------------
 wxVtkBaseView::~wxVtkBaseView()
 {
//    _iren -> Delete();
-       _iren=NULL;
      _iren -> Delete();
+       //_iren=NULL;
 }
 //-------------------------------------------------------------------
 wxVTKRenderWindowInteractor* wxVtkBaseView::GetWxVTKRenderWindowInteractor() throw (char*)