crea::VtkBasicSlicer(images.front());
images.front()->Delete();
+ w.OnExit();
}
else if (w.GetReturnCode() == wxID_CANCEL)
{
+ w.OnExit();
std::cout << "$$$$ main : user clicked 'CANCEL' $$$$"<<std::endl;
}
else
{
+ w.OnExit();
std::cout << "$$$$ main : dialog ended without return code ! $$$$"
<<std::endl;