- # 2nd group of controls:
- self.group2_ctrls = []
- radio4 = wx.RadioButton( panel, -1, " Radio1 ", style = wx.RB_GROUP )
- text4 = wx.TextCtrl( panel, -1, "" )
- radio5 = wx.RadioButton( panel, -1, " Radio2 " )
- text5 = wx.TextCtrl( panel, -1, "" )
- radio6 = wx.RadioButton( panel, -1, " Radio3 " )
- text6 = wx.TextCtrl( panel, -1, "" )
- self.group2_ctrls.append((radio4, text4))
- self.group2_ctrls.append((radio5, text5))
- self.group2_ctrls.append((radio6, text6))
-
- # Layout controls on panel:
- vs = wx.BoxSizer( wx.VERTICAL )
-
- box1_title = wx.StaticBox( panel, -1, "Group 1" )
- box1 = wx.StaticBoxSizer( box1_title, wx.VERTICAL )
- grid1 = wx.FlexGridSizer( 0, 2, 0, 0 )
-