]> Creatis software - bbtk.git/commitdiff
Clean Code
authorEduardo DAVILA <davila@creatis.insa-lyon.fr>
Wed, 19 Jul 2023 15:46:20 +0000 (17:46 +0200)
committerEduardo DAVILA <davila@creatis.insa-lyon.fr>
Wed, 19 Jul 2023 15:46:20 +0000 (17:46 +0200)
packages/wx/src/bbwxRadioButton.cxx

index 278ebf6465406628a20db05a81e37747e87e372b..826a3cbc9e6dbffc8587fe3fc93e59d4ccd2cde5 100644 (file)
@@ -173,14 +173,14 @@ namespace bbwx
     if (title!=_T(""))
     {
           sizer->Add( new wxStaticText(panel,-1, title ) ); 
-    }
+    } // if
     for (i=0;i<MAX_RADIOBUTTON; i++)
     {
        if (mwxRadioButton[i]!=NULL)
        {
           sizer->Add( mwxRadioButton[i],1,wxGROW ); 
-       }
-    }
+       } // if
+    } // for i
     sizer->AddGrowableCol(0);
     panel->SetSizer(sizer);