X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkWidgetBlackBoxWindow.txx;h=bc77e9b989c4aee5e394e2bf88b33e1db3c0de70;hb=c0fb50eb13239a18578948684c34af0fb212cd2e;hp=e2ac9990296620088303f90733e904d3e8e3bc04;hpb=8c690fedb5ea897b6a69584e1e237cb5dbad97a5;p=bbtk.git diff --git a/kernel/src/bbtkWidgetBlackBoxWindow.txx b/kernel/src/bbtkWidgetBlackBoxWindow.txx index e2ac999..bc77e9b 100644 --- a/kernel/src/bbtkWidgetBlackBoxWindow.txx +++ b/kernel/src/bbtkWidgetBlackBoxWindow.txx @@ -2,8 +2,8 @@ Program: bbtk Module: $RCSfile: bbtkWidgetBlackBoxWindow.txx,v $ Language: C++ - Date: $Date: 2009/05/28 08:12:06 $ - Version: $Revision: 1.3 $ + Date: $Date: 2009/06/10 11:36:52 $ + Version: $Revision: 1.4 $ =========================================================================*/ /* --------------------------------------------------------------------- @@ -107,14 +107,14 @@ namespace bbtk template void WidgetBlackBoxWindow::bbDestroy() { - /* + if (mBox.expired()) return; bbtkDebugMessage("widget",9,"WidgetBlackBoxWindow::bbDestroy() [" <bbGetName()<<"]"<DecNbWindowsAlive(); mBox.lock()->bbSetWindow(0); - */ + } //=========================================================================