From: Eduardo Davila Date: Tue, 12 Feb 2008 09:21:23 +0000 (+0000) Subject: BUG wxRadioButton X-Git-Tag: r0.6.1~239 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=96db9f54201e57452138331ab75de5cd0618d3f8;p=bbtk.git BUG wxRadioButton --- diff --git a/packages/wx/src/bbwxRadioButton.cxx b/packages/wx/src/bbwxRadioButton.cxx index 6527cfa..19349f3 100644 --- a/packages/wx/src/bbwxRadioButton.cxx +++ b/packages/wx/src/bbwxRadioButton.cxx @@ -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 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(); } //-------------------------------------------------------------------------