objdictgen/commondialogs.py
changeset 543 ea6cc9b95838
parent 505 88956169c8b5
child 580 2ae92a99ac10
equal deleted inserted replaced
542:4328444b039b 543:ea6cc9b95838
   298         self.radioButton1.Bind(wx.EVT_RADIOBUTTON, self.OnRadioButton1Click,
   298         self.radioButton1.Bind(wx.EVT_RADIOBUTTON, self.OnRadioButton1Click,
   299               id=ID_MAPVARIABLEDIALOGRADIOBUTTON1)
   299               id=ID_MAPVARIABLEDIALOGRADIOBUTTON1)
   300 
   300 
   301         self.radioButton2 = wx.RadioButton(id=ID_MAPVARIABLEDIALOGRADIOBUTTON2,
   301         self.radioButton2 = wx.RadioButton(id=ID_MAPVARIABLEDIALOGRADIOBUTTON2,
   302               label='ARRAY', name='radioButton2', parent=self,
   302               label='ARRAY', name='radioButton2', parent=self,
   303               pos=wx.Point(0, 0), size=wx.Size(80, 24), style=wx.RB_SINGLE)
   303               pos=wx.Point(0, 0), size=wx.Size(80, 24), style=0)
   304         self.radioButton2.SetValue(False)
   304         self.radioButton2.SetValue(False)
   305         self.radioButton2.Bind(wx.EVT_RADIOBUTTON, self.OnRadioButton2Click,
   305         self.radioButton2.Bind(wx.EVT_RADIOBUTTON, self.OnRadioButton2Click,
   306               id=ID_MAPVARIABLEDIALOGRADIOBUTTON2)
   306               id=ID_MAPVARIABLEDIALOGRADIOBUTTON2)
   307 
   307 
   308         self.radioButton3 = wx.RadioButton(id=ID_MAPVARIABLEDIALOGRADIOBUTTON3,
   308         self.radioButton3 = wx.RadioButton(id=ID_MAPVARIABLEDIALOGRADIOBUTTON3,
   309               label='REC', name='radioButton3', parent=self,
   309               label='REC', name='radioButton3', parent=self,
   310               pos=wx.Point(0, 0), size=wx.Size(80, 24), style=wx.RB_SINGLE)
   310               pos=wx.Point(0, 0), size=wx.Size(80, 24), style=0)
   311         self.radioButton3.SetValue(False)
   311         self.radioButton3.SetValue(False)
   312         self.radioButton3.Bind(wx.EVT_RADIOBUTTON, self.OnRadioButton3Click,
   312         self.radioButton3.Bind(wx.EVT_RADIOBUTTON, self.OnRadioButton3Click,
   313               id=ID_MAPVARIABLEDIALOGRADIOBUTTON3)
   313               id=ID_MAPVARIABLEDIALOGRADIOBUTTON3)
   314 
   314 
   315         self.Index = wx.TextCtrl(id=ID_MAPVARIABLEDIALOGINDEX, name='Index',
   315         self.Index = wx.TextCtrl(id=ID_MAPVARIABLEDIALOGINDEX, name='Index',
   935               label='Network Management:', name='staticText5',
   935               label='Network Management:', name='staticText5',
   936               parent=self, pos=wx.Point(0, 0), size=wx.Size(0, 17), style=0)
   936               parent=self, pos=wx.Point(0, 0), size=wx.Size(0, 17), style=0)
   937 
   937 
   938         self.NMT_None = wx.RadioButton(id=ID_CREATENODEDIALOGNMT_NONE,
   938         self.NMT_None = wx.RadioButton(id=ID_CREATENODEDIALOGNMT_NONE,
   939               label='None', name='NMT_None', parent=self,
   939               label='None', name='NMT_None', parent=self,
   940               pos=wx.Point(0, 0), size=wx.Size(0, 24), style=0)
   940               pos=wx.Point(0, 0), size=wx.Size(0, 24), style=wx.RB_GROUP)
   941         self.NMT_None.SetValue(True)
   941         self.NMT_None.SetValue(True)
   942 
   942 
   943         self.NMT_NodeGuarding = wx.RadioButton(id=ID_CREATENODEDIALOGNMT_NODEGUARDING,
   943         self.NMT_NodeGuarding = wx.RadioButton(id=ID_CREATENODEDIALOGNMT_NODEGUARDING,
   944               label='Node Guarding', name='NMT_NodeGuarding', parent=self, 
   944               label='Node Guarding', name='NMT_NodeGuarding', parent=self, 
   945               pos=wx.Point(0, 0), size=wx.Size(0, 24), style=0)
   945               pos=wx.Point(0, 0), size=wx.Size(0, 24), style=0)