X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkWxBlackBox.cxx;h=1050f0441871d305191f6b8d25bec281fa3237a1;hb=e6b2de923e0e69c303c7d18fb8a5c1970541bb3a;hp=8f523029b5d2e52539ddfcd6057a9a331a3a1f0e;hpb=62f21094493592cc2ccf1f105db791fb0ebbe2d0;p=bbtk.git diff --git a/kernel/src/bbtkWxBlackBox.cxx b/kernel/src/bbtkWxBlackBox.cxx index 8f52302..1050f04 100644 --- a/kernel/src/bbtkWxBlackBox.cxx +++ b/kernel/src/bbtkWxBlackBox.cxx @@ -3,8 +3,8 @@ Program: bbtk Module: $RCSfile: bbtkWxBlackBox.cxx,v $ Language: C++ - Date: $Date: 2008/06/26 07:37:04 $ - Version: $Revision: 1.21 $ + Date: $Date: 2008/07/25 07:44:12 $ + Version: $Revision: 1.26 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -110,7 +110,6 @@ namespace bbtk wxString title, wxSize size) : - WxBlackBoxWindow(box), wxDialog( parent, -1, title, @@ -122,7 +121,8 @@ namespace bbtk wxMAXIMIZE_BOX | wxMINIMIZE_BOX | wxCAPTION - ) + ), + WxBlackBoxWindow(box) { bbtkDebugMessage("wx",9,"WxBlackBoxDialog::WxBlackBoxDialog("<< bbGetBlackBox()->bbGetFullName()<<","<bbGetFullName()<<"]"<bbGetFullName()<<","<bbGetFullName()<<")"<bbUserOnShow(); } //========================================================================= @@ -250,6 +258,7 @@ namespace bbtk //========================================================================= void WxBlackBoxFrame::bbClose() { + bbtkDebugMessage("wx",9,"WxBlackBoxFrame::bbClose()"<GetBlackBoxTo() != to))&& - (!bbGetUpdateTransferedToParent())) + (!bbGetUpdateTransferedToParent())&& + (to->bbGetStatus()!=UPDATING)) { bbtkDebugMessage("process",3, " ... Transfering update order to parent"