]> Creatis software - bbtk.git/commitdiff
Wintitle)
authorjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Wed, 6 Feb 2008 11:31:39 +0000 (11:31 +0000)
committerjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Wed, 6 Feb 2008 11:31:39 +0000 (11:31 +0000)
kernel/cmake/bbtk_config_build.xml.in
kernel/src/bbtkWxBlackBox.cxx
packages/wx/src/bbwxSlider.cxx

index 983602f35979ccb5cb3b70d37c3ca713b60b825d..8a148b7372e5ffcafdb212c36aa2a33069297902 100644 (file)
@@ -12,6 +12,6 @@
 #
   <data_path> @BBTK_DATA_ROOT@ </data_path>
 
-  <default_doc_tmp>  @PROJECT_BINARY_DIR@ </default_doc_tmp>
+  <default_temp_dir>  @PROJECT_BINARY_DIR@ </default_temp_dir>
    
 </config>
index a14647e074390397566c3a2546f99334e4572bb4..954880d30f6bce4d6f55007d6b819ccfb73ca9aa 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkWxBlackBox.cxx,v $
   Language:  C++
-  Date:      $Date: 2008/02/05 13:23:46 $
-  Version:   $Revision: 1.4 $
+  Date:      $Date: 2008/02/06 11:31:39 $
+  Version:   $Revision: 1.5 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -529,7 +529,7 @@ namespace bbtk
     bbmWindow = 0;
     //    bbmWidget = 0;
     //    bbSetInputWinParent(0);
-    bbSetInputWinTitle("...");
+    bbSetInputWinTitle(bbGetName());
     bbSetInputWinWidth(800);
     bbSetInputWinHeight(800);
     bbSetInputWinDialog(false);
@@ -569,6 +569,8 @@ namespace bbtk
            delete bbGetWidgetEventHandler();
            new WxBlackBoxWidgetEventHandler(this,bbGetOutputWidget());
          }
+       // Sets the name of the wxWindow to the input WinTitle
+       bbGetOutputWidget()->SetName(bbtk::std2wx(bbGetInputWinTitle()));
       }
 
     // If the output 'Widget' is connected then it's gonna 
index a69578c2eabe39be605bb79b9a2e470cf22cfdd6..c71852191f0af6979b527ac287d9de287fa6949b 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbwxSlider.cxx,v $
   Language:  C++
-  Date:      $Date: 2008/02/05 18:05:32 $
-  Version:   $Revision: 1.3 $
+  Date:      $Date: 2008/02/06 11:31:40 $
+  Version:   $Revision: 1.4 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -340,7 +340,7 @@ namespace bbwx
   //--------------------------------------------------------------------------
   void Slider::bbUserConstructor() 
   { 
-       bbSetInputWinTitle("Slider");
+    // bbSetInputWinTitle("Slider");
     bbSetInputIn(0);
     bbSetInputMin(0);
     bbSetInputMax(500);
@@ -372,7 +372,7 @@ namespace bbwx
                                                bbGetInputIn(),
                                                bbGetInputReactiveOnTrack()
                                                ); 
-       w->SetName( bbtk::std2wx( bbGetInputWinTitle() ) );
+         //    w->SetName( bbtk::std2wx( bbGetInputWinTitle() ) );
          
     bbSetOutputWidget( w );
   }