]> Creatis software - bbtk.git/blobdiff - packages/wx/src/bbwxColourDialogButton.cxx
*** empty log message ***
[bbtk.git] / packages / wx / src / bbwxColourDialogButton.cxx
index 5e4154c38e7ca13b40464d5a07a197a631fd51df..eadb5e9ad3e77c6a2b6ce0e625569508a2abe67e 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbwxColourDialogButton.cxx,v $
   Language:  C++
-  Date:      $Date: 2008/02/13 15:09:37 $
-  Version:   $Revision: 1.1 $
+  Date:      $Date: 2008/02/14 16:55:07 $
+  Version:   $Revision: 1.3 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -63,7 +63,7 @@ wxColourPickerCtrlWidget::wxColourPickerCtrlWidget(   ColourDialogButton* box,
     bbtkDebugMessage("Process",9,"<= wxColourPickerCtrlWidget::wxColourPickerCtrlWidget"<<std::endl);
     wxFlexGridSizer *sizer = new wxFlexGridSizer(10);
        sizer -> AddGrowableRow(0);
-       sizer -> Add( picker,1,wxGROW );                
+       sizer -> Add( picker, 1, wxEXPAND, 0 );         
        panel -> SetSizer(sizer);
   }
 
@@ -125,8 +125,7 @@ void wxColourPickerCtrlWidget::UpdateBox()
    */ 
   void ColourDialogButton::CreateWidget()
   {
-    bbtkDebugMessage("Process",9,"=> ColourDialogButton::CreateWidget("
-                       <<parent<<")"<<std::endl);
+    bbtkDebugMessage("Process",9,"=> ColourDialogButton::CreateWidget()"<<std::endl);
     
     float r,g,b;
     sscanf( bbGetInputIn().c_str(), "%f %f %f", &r, &g ,&b);
@@ -137,8 +136,7 @@ void wxColourPickerCtrlWidget::UpdateBox()
 
     pickerWidget = new wxColourPickerCtrlWidget(this, bbGetWxParent() , cr , cg , cb );    
     
-    bbtkDebugMessage("Process",9,"<= ColourDialogButton::CreateWidget("
-                    <<parent<<")"<<std::endl);
+    bbtkDebugMessage("Process",9,"<= ColourDialogButton::CreateWidget()"<<std::endl);
 
     bbSetOutputWidget( pickerWidget );
   }