+ this->SetTitle((bbGetBlackBox()->bbGetInputWinTitle()+" - bbtk (c) CREATIS-LRMN").c_str());
+
+ this->mFrame->SetParent(this);
+ this->mFrame->Create();
+ this->mFrame->SetWidth ( bbGetBlackBox()->bbGetInputWinWidth() );
+ this->mFrame->SetHeight ( bbGetBlackBox()->bbGetInputWinHeight() );
+
+ this->Script("pack %s -side top -expand true",
+ this->mFrame->GetWidgetName());
+}
+//=========================================================================
+
+/*
+//=========================================================================
+void vtkKWBlackBoxDialog::Pack()
+{
+ this->Script("pack %s -side top -expand true",
+ this->mFrame->GetWidgetName());
+}
+//=========================================================================
+*/
+ //=========================================================================
+ void vtkKWBlackBoxDialog::Cancel()
+ {
+ bbtkDebugMessage("kw",9,"vtkKWBlackBoxDialog::Cancel()"<<std::endl);
+ // this->Delete();
+
+ // this->Withdraw();
+ bbHide();
+ this->Done = vtkKWDialog::StatusCanceled;
+ // std::cout << "REFS= "<<this->GetReferenceCount()<<std::endl;
+ // std::cout << "WINS= "<<this->GetApplication()->GetNumberOfWindows ()<<std::endl;
+ // this->Delete();
+
+ }