]> Creatis software - bbtk.git/commitdiff
#3518 Python descrition vtk9itk5wx3-macos
authoreduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Wed, 29 May 2024 08:34:20 +0000 (10:34 +0200)
committereduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Wed, 29 May 2024 08:34:20 +0000 (10:34 +0200)
kernel/src/bbtkWxBlackBox.cxx
packages/std/src/bbstdReplaceCleanString.h
packages/vtk/src/bbvtkPlaneClipPolyData.cxx

index 8bf6f65548908d4d958790acfa8e046dae704bf6..46ed9b0f0b14eca3d4cdfeb0894396a3aa9b250b 100644 (file)
@@ -95,8 +95,8 @@ namespace bbtk
             wxCLOSE_BOX |
             wxMAXIMIZE_BOX | 
             wxMINIMIZE_BOX | 
             wxCLOSE_BOX |
             wxMAXIMIZE_BOX | 
             wxMINIMIZE_BOX | 
-            wxCAPTION  
-            ),
+            wxCAPTION
+        ),
     mBox(b)
   {   
     bbtkDebugMessage("widget",9,"["<<b->bbGetName()<<"] WxFrame()"
     mBox(b)
   {   
     bbtkDebugMessage("widget",9,"["<<b->bbGetName()<<"] WxFrame()"
@@ -304,9 +304,9 @@ printf("EED WxFrame::~WxFrame\n");
                     std2wx( ConstructWinTitle() ),
                     wxSize( bbGetInputWinWidth() , 
                             bbGetInputWinHeight() ) );
                     std2wx( ConstructWinTitle() ),
                     wxSize( bbGetInputWinWidth() , 
                             bbGetInputWinHeight() ) );
-    w->Show();
-
-
+    w->SetFocus();  // focus on my window
+    w->Raise();  // bring window to front
+    w->Show(true);
    }
 
   //==================================================================    
    }
 
   //==================================================================    
index d4c931b0c806b93db54a6d1da6fa364fbc92c35d..ebd2718c49d055f7ab2f2637aabf9e21d4bba191 100644 (file)
@@ -33,7 +33,7 @@ class bbstd_EXPORT ReplaceCleanString
 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ReplaceCleanString,bbtk::AtomicBlackBox);
  BBTK_NAME("ReplaceCleanString");
  BBTK_AUTHOR("InfoDev");
 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,"");
  BBTK_CATEGORY("empty");
  BBTK_INPUT(ReplaceCleanString,In,"Input string",std::string,"");
  BBTK_INPUT(ReplaceCleanString,Replace,"New string to be put",std::string,"");
index 9e63987690a16c1fcd6fb8757738a5505ffb18ca..07eafb70cd47c87542ae39e522b28aa2708621aa 100644 (file)
@@ -41,32 +41,29 @@ void PlaneClipPolyData::Process()
     bbSetOutputClippedPolyData(outPolydata);
 
    // std::cout << "RaC PlaneClipPolyData::Process END "<<polydataCopy<< std::endl;
     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::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::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()
 {
 // 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