From 18929e2203087f84167fddf9c90ba2f3b608890b Mon Sep 17 00:00:00 2001
From: "eduardo.davila@creatis.insa-lyon.fr"
 <eduardo.davila@creatis.insa-lyon.fr>
Date: Wed, 29 May 2024 10:34:20 +0200
Subject: [PATCH] #3518 Python descrition

---
 kernel/src/bbtkWxBlackBox.cxx               | 10 +++++-----
 packages/std/src/bbstdReplaceCleanString.h  |  2 +-
 packages/vtk/src/bbvtkPlaneClipPolyData.cxx | 19 ++++++++-----------
 3 files changed, 14 insertions(+), 17 deletions(-)

diff --git a/kernel/src/bbtkWxBlackBox.cxx b/kernel/src/bbtkWxBlackBox.cxx
index 8bf6f65..46ed9b0 100644
--- a/kernel/src/bbtkWxBlackBox.cxx
+++ b/kernel/src/bbtkWxBlackBox.cxx
@@ -95,8 +95,8 @@ namespace bbtk
 	     wxCLOSE_BOX |
 	     wxMAXIMIZE_BOX | 
 	     wxMINIMIZE_BOX | 
-	     wxCAPTION  
-	     ),
+	     wxCAPTION
+        ),
     mBox(b)
   {   
     bbtkDebugMessage("widget",9,"["<<b->bbGetName()<<"] WxFrame()"
@@ -304,9 +304,9 @@ printf("EED WxFrame::~WxFrame\n");
 		     std2wx( ConstructWinTitle() ),
 		     wxSize( bbGetInputWinWidth() , 
 			     bbGetInputWinHeight() ) );
-    w->Show();
-
-
+    w->SetFocus();  // focus on my window
+    w->Raise();  // bring window to front
+    w->Show(true);
    }
 
   //==================================================================    
diff --git a/packages/std/src/bbstdReplaceCleanString.h b/packages/std/src/bbstdReplaceCleanString.h
index d4c931b..ebd2718 100644
--- a/packages/std/src/bbstdReplaceCleanString.h
+++ b/packages/std/src/bbstdReplaceCleanString.h
@@ -33,7 +33,7 @@ class bbstd_EXPORT ReplaceCleanString
 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ReplaceCleanString,bbtk::AtomicBlackBox);
  BBTK_NAME("ReplaceCleanString");
  BBTK_AUTHOR("InfoDev");
- BBTK_DESCRIPTION("No Description.");
+ BBTK_DESCRIPTION("(C++,Python) No Description.");
  BBTK_CATEGORY("empty");
  BBTK_INPUT(ReplaceCleanString,In,"Input string",std::string,"");
  BBTK_INPUT(ReplaceCleanString,Replace,"New string to be put",std::string,"");
diff --git a/packages/vtk/src/bbvtkPlaneClipPolyData.cxx b/packages/vtk/src/bbvtkPlaneClipPolyData.cxx
index 9e63987..07eafb7 100644
--- a/packages/vtk/src/bbvtkPlaneClipPolyData.cxx
+++ b/packages/vtk/src/bbvtkPlaneClipPolyData.cxx
@@ -41,32 +41,29 @@ void PlaneClipPolyData::Process()
     bbSetOutputClippedPolyData(outPolydata);
 
    // std::cout << "RaC PlaneClipPolyData::Process END "<<polydataCopy<< std::endl;
-  
 }
-//===== 
+
+//=====
 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
 //===== 
 void PlaneClipPolyData::bbUserSetDefaultValues()
 {
-
-  
 }
-//===== 
+
+//=====
 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
 //===== 
 void PlaneClipPolyData::bbUserInitializeProcessing()
 {
-
-  
 }
-//===== 
+
+//=====
 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
 //===== 
 void PlaneClipPolyData::bbUserFinalizeProcessing()
 {
-  
 }
-}
-// EO namespace bbvtk
+
+}// EO namespace bbvtk
 
 
-- 
2.49.0