]> Creatis software - bbtk.git/commitdiff
BUG wxRadioButton
authorEduardo Davila <Eduardo.Davila@creatis.insa-lyon.fr>
Tue, 12 Feb 2008 09:21:23 +0000 (09:21 +0000)
committerEduardo Davila <Eduardo.Davila@creatis.insa-lyon.fr>
Tue, 12 Feb 2008 09:21:23 +0000 (09:21 +0000)
packages/wx/src/bbwxRadioButton.cxx

index 6527cfa4719ad3da196593ce9af52fa639756750..19349f34cdec58c0968fcfc8bc2a461b68edbed4 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbwxRadioButton.cxx,v $
   Language:  C++
-  Date:      $Date: 2008/02/11 14:47:12 $
-  Version:   $Revision: 1.1 $
+  Date:      $Date: 2008/02/12 09:21:23 $
+  Version:   $Revision: 1.2 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -40,9 +40,9 @@ namespace bbwx
                wxString title,
                std::vector<wxString> lstIn )
     :
-    wxPanel( parent, -1)
+    wxPanel( parent, -1) ,
+    mBox(box)
   {
-
     wxPanel *panel     = this;
     MAX_RADIOBUTTON = lstIn.size();
     int i;
@@ -94,10 +94,10 @@ namespace bbwx
        }
     }
     sizer->AddGrowableCol(0);
-
     panel->SetSizer(sizer);
-    panel->SetAutoLayout(true);
-    panel->Layout();
+    
+//    panel->SetAutoLayout(true);
+//    panel->Layout();
 
   }
   //-------------------------------------------------------------------------