]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkKWBlackBox.h
*** empty log message ***
[bbtk.git] / kernel / src / bbtkKWBlackBox.h
index 78aa8af99c7121ecc69c53e65102ae0c0c8c9bec..754a7dd5fe2ef2d89e89537112f6248539e157ce 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkKWBlackBox.h,v $
   Language:  C++
-  Date:      $Date: 2008/12/02 08:38:08 $
-  Version:   $Revision: 1.2 $
+  Date:      $Date: 2008/12/02 13:37:54 $
+  Version:   $Revision: 1.3 $
 ========================================================================*/
 
 
 #include "bbtkKW.h"
 
 
-  //==================================================================
-  // Forward declaration of the class of window associated to a KWBlackBox
-  class vtkKWBlackBoxWindow;
-  class vtkKWBlackBoxDialog;
-  //==================================================================
+//==================================================================
+// Forward declaration of the class of window associated to a KWBlackBox
+class vtkKWBlackBoxWindow;
+class vtkKWBlackBoxDialog;
+class vtkKWFrame;
+//==================================================================
 
 
 namespace bbtk
@@ -148,7 +149,7 @@ namespace bbtk
     /// User callback for creating the widget associated to the box
     /// ** Must be defined **
     // LG 24/11/08 : New widget pipeline
-    virtual void bbUserCreateWidget(vtkKWWidget* parent) 
+    virtual void bbUserCreateWidget(vtkKWFrame* parent) 
     {
       bbtkError(bbGetTypeName()<<" is a KWBlackBox whose bbUserCreateWidget methods is not overloaded : is it a feature or a bug ?!?");
     }
@@ -156,7 +157,7 @@ namespace bbtk
 
 
     vtkKWWidget* bbCreateWidgetOfInput(const std::string& in, 
-                                      vtkKWWidget* parent);
+                                      vtkKWFrame* parent);
 
 
     //==================================================================
@@ -228,7 +229,7 @@ namespace bbtk
   /// Defines the bbUserCreateWidget method
 #define BBTK_CREATE_KWWIDGET(CALLBACK)                                 \
   public:                                                              \
-  inline void bbUserCreateWidget(vtkKWWidget* parent)                  \
+  inline void bbUserCreateWidget(vtkKWFrame* parent)                   \
   {                                                                    \
     bbtkDebugMessageInc("kw",1,"**> Creating widget for ["             \
                        <<bbGetFullName()<<"]"<<std::endl);             \