X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkWxBlackBox.h;h=ddd35779880b48ef216d4b6c9a2c8d43f55f3890;hb=bdbe8432a23b398ce457f38d647e9298a7cf560a;hp=9b22db3c6d65bb079b2c3b77f21fb9d7526ef2ff;hpb=5934ccb7ca0fabdbe6c1907b2aea3696e19a0251;p=bbtk.git diff --git a/kernel/src/bbtkWxBlackBox.h b/kernel/src/bbtkWxBlackBox.h index 9b22db3..ddd3577 100644 --- a/kernel/src/bbtkWxBlackBox.h +++ b/kernel/src/bbtkWxBlackBox.h @@ -3,8 +3,8 @@ Program: bbtk Module: $RCSfile: bbtkWxBlackBox.h,v $ Language: C++ - Date: $Date: 2008/04/22 14:30:25 $ - Version: $Revision: 1.13 $ + Date: $Date: 2008/05/15 08:02:36 $ + Version: $Revision: 1.16 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -69,6 +69,7 @@ namespace bbtk BBTK_DECLARE_INPUT(WinHeight,int); BBTK_DECLARE_INPUT(WinDialog,bool); BBTK_DECLARE_INPUT(WinHide,Void); + BBTK_DECLARE_INPUT(WinClose,Void); BBTK_DECLARE_OUTPUT(Widget, wxWindow*);//WxBlackBoxWidget*); public: @@ -154,6 +155,8 @@ namespace bbtk void bbShowWindow(); /// Hides the WxBlackBoxWindow associated to the box (if exists) void bbHideWindow(); + /// Closes (destroys) the WxBlackBoxWindow associated to the box (if exists) + void bbCloseWindow(); //================================================================== private: @@ -203,10 +206,10 @@ namespace bbtk public: \ inline void bbUserCreateWidget() \ { \ - bbtkDebugMessageInc("Process",1,"=> "< Creating widget for [" \ <